cfengine_beautifier
CFEngine configuration file beautifier
Details
Installs
- Total 2K
- Win 1K
- Mac 315
- Linux 269
Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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