Skip to content

Commit

Permalink
[doc] Update open config doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamontat Chantrachirathumrong committed Sep 12, 2018
1 parent 4ea5a76 commit 8ec03a2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/configOpen.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ var configOpenCmd = &cobra.Command{
Use: "open",
Aliases: []string{"o"},
Short: "open config in your default editor",
Long: `
Open configuration have some logic to open file,
1. If no flag passed, program will open used config file.
2. If '-l' passed, program will open local list file.
3. If '-g' passed, program will open global list file.
`,
Run: func(cmd *cobra.Command, args []string) {
om.Log.ToLog("config", "open start...")

Expand Down

0 comments on commit 8ec03a2

Please sign in to comment.