Skip to content

Commit

Permalink
Add all current commands and their args
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Sep 13, 2024
1 parent f32283d commit 1f983d0
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions src/shelve.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const shelveSubcommands: Fig.Subcommand[] = [
{
name: "create",
name: ["create", "c", "init"],
description: "Create a new project",
icon: "🚀",
options: [
Expand All @@ -14,38 +14,43 @@ const shelveSubcommands: Fig.Subcommand[] = [
],
},
{
name: "pull",
description: "Retrieve the environment variables from Shelve",
name: ["pull", "pl"],
description: "Pull variables for specified environment to .env file",
icon: "📥",
options: [
{
name: ["--env", "-e"],
description: "Retrieve the environment variables from Shelve",
description: "Specify the environment",
args: {
name: "environment",
},
},
],
},
{
name: "push",
description: "Send the environment variables to Shelve",
name: ["push", "ps"],
description: "Push variables for specified environment to Shelve",
icon: "📤",
options: [
{
name: ["--env", "-e"],
description: "Send the environment variables to Shelve",
description: "Specify the environment",
args: {
name: "environment",
},
},
],
},
{
name: "generate",
description: "Generate resources for the project",
name: ["generate", "g"],
description: "Generate resources for a project",
icon: "🔄",
},
{
name: ["config", "cf"],
description: "Show the current configuration",
icon: "⚙️",
},
{
name: ["--help", "-h"],
description: "Show help",
Expand Down

0 comments on commit 1f983d0

Please sign in to comment.