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