feat: add docs info

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias committed 2019-01-08 16:37:02 +00:00
1 parent 2ba5a4275a
commit e68af011d4
9 files changed
+38 -14

No files matched your search

+5 -3
View File
@@ -9,10 +9,12 @@ func init() {
}
var configExportCmd = &cobra.Command{
Use: "export <filename>",
Use: "export <path>",
Short: "Export the configuration to a file",
Long: "Export the configuration to a file.",
Args: jsonYamlArg,
Long: `Export the configuration to a file. The path must be for a
json or yaml file. This exported configuration can be changed,
and imported again with 'config import' command.`,
Args: jsonYamlArg,
Run: python(func(cmd *cobra.Command, args []string, d pythonData) {
settings, err := d.store.Settings.Get()
checkErr(err)