cfengine_beautifier
CFEngine configuration file beautifier
Details
Installs
- Total 2K
- Win 1K
- Mac 312
- Linux 267
Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
CFEngine Beautifier
CFEngine configuration file beautifier written in Python.
- Command line interface
- Integrates with Sublime Text 2 and Sublime Text 3.
- Installation for Sublime by cloning into Sublime Text's Packages folder.
Sublime Text Installation
Via Package Manager
- Ctrl + Shift + p (Linux, Windows) or Cmd + Shift + p (OS X).
- Type “install package”
- Type “cfenginebeautifier”
- Enter
For more information: https://sublime.wbond.net/docs/usage
Manual Installation
- Navigate to Sublime Text Packages Directory
Platform | Sublime Text 2 | Sublime Text 3 |
---|---|---|
Linux | ~/.config/sublime-text-2/Packages | ~/.config/sublime-text-3/Packages |
OS X | ~/Library/Application Support/Sublime Text 2/Packages | ~/Library/Application Support/Sublime Text 3/Packages |
Windows | %APPDATA%\Sublime Text 2/Packages | %APPDATA%\Sublime Text 3/Packages |
Sublime Text Options
Option | Description | Value | Default |
---|---|---|---|
beautify_on_save | Run beautifier every time the file is saved | true | false | true |
page_width | Tries to make text fit onto this width (number of characters) | number | 100 |
remove_empty_promise_types | Remove promise types (such as vars:, reports:) which have no promises or comments | true | false | true |
sort_promise_types_to_evaluation_order | Sort promise types to CFEngine normal order | true | false | true |
Command Line Options
Run cf-beautify –help