on main help sign in
chore(cmd/projects): improve help text (#1647)
e67c16eChristian Rocha
internal/cmd/projects.go+3−4
@@ -13,14 +13,13 @@ import (
13
13
14var projectsCmd = &cobra.Command{
14var projectsCmd = &cobra.Command{
15 Use: "projects",
15 Use: "projects",
16− Short: "List all tracked project directories",
16+ Short: "List project directories",
17− Long: `List all directories where Crush has been used.
17+ Long: "List directories where Crush project data is known to exist",
18−This includes the working directory, data directory path, and last accessed time.`,
19 Example: `
18 Example: `
20# List all projects in a table
19# List all projects in a table
21crush projects
20crush projects
22
21
23−# Output as JSON
22+# Output projects data as JSON
24crush projects --json
23crush projects --json
25 `,
24 `,
26 RunE: func(cmd *cobra.Command, args []string) error {
25 RunE: func(cmd *cobra.Command, args []string) error {