diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-11 10:15:01 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-11 10:16:30 +0200 |
commit | e7010c1b621d68ee53411a5ba8143d07b976d9fe (patch) | |
tree | f975e0ebe716aa8f182230429318845b248c0d30 /commands/new.go | |
parent | f396cffa239e948075af2224208671956d8b4a84 (diff) |
commands: Remove some TODOs
See #4598
Diffstat (limited to 'commands/new.go')
-rw-r--r-- | commands/new.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/new.go b/commands/new.go index c78c00bde..c088dca9b 100644 --- a/commands/new.go +++ b/commands/new.go @@ -53,7 +53,6 @@ If archetypes are provided in your theme or site, they will be used.`, }) cc.cmd.Flags().StringVarP(&cc.contentType, "kind", "k", "", "content type to create") - // TODO(bep) cli refactor cc.cmd.PersistentFlags().StringVarP(&cc.source, "source", "s", "", "filesystem path to read files relative from") cc.cmd.PersistentFlags().SetAnnotation("source", cobra.BashCompSubdirsInDir, []string{}) cc.cmd.Flags().StringVar(&cc.contentEditor, "editor", "", "edit new content with this editor, if provided") @@ -169,7 +168,6 @@ func touchFile(fs afero.Fs, x ...string) { } } -// TODO(bep) cli refactor => method func newContentPathSection(path string) (string, string) { // Forward slashes is used in all examples. Convert if needed. // Issue #1133 |