Skip to content

Commit

Permalink
Merge pull request #27 from platogo/DaniruKun/issue21
Browse files Browse the repository at this point in the history
Add support for EDITOR usage for card creation
  • Loading branch information
Daniils Petrovs authored Sep 28, 2022
2 parents 5f530f3 + b6e847a commit d1a5134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/card_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var cardCreateCmd = &cobra.Command{
},
{
Name: "description",
Prompt: &survey.Multiline{Message: "Description?"},
Prompt: &survey.Editor{Message: "Description?", FileName: "*.md"},
},
{
Name: "labels",
Expand Down
3 changes: 1 addition & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*
Copyright © 2022 Daniils Petrovs <[email protected]>
*/
package cmd

Expand All @@ -14,7 +13,7 @@ import (
"github.com/spf13/viper"
)

const Version = "0.2.2"
const Version = "0.3.0"

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Expand Down

0 comments on commit d1a5134

Please sign in to comment.