Update command descriptions

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-30 00:48:16 +01:00
parent de97a22813
commit 5a64827825
6 changed files with 13 additions and 43 deletions

View file

@ -13,13 +13,8 @@ import (
var editCmd = &cobra.Command{
Use: "edit",
Aliases: []string{"e"},
Short: "A brief description of your command",
Long: `A longer description that spans multiple lines and likely contains examples
and usage of using your command. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
Short: "Edit a specific zettel",
Long: `zet edit|e ID`,
Run: func(cmd *cobra.Command, args []string) {
if len(args) < 1 {
fmt.Println("Error: No id provided")