Skip to content

Commit

Permalink
Init shelve cli update
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Sep 13, 2024
1 parent abf654b commit f32283d
Showing 1 changed file with 6 additions and 35 deletions.
41 changes: 6 additions & 35 deletions src/shelve.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const shelveSubcommands: Fig.Subcommand[] = [
{
name: ["create", "init", "c"],
name: "create",
description: "Create a new project",
icon: "🚀",
options: [
Expand All @@ -14,22 +14,7 @@ const shelveSubcommands: Fig.Subcommand[] = [
],
},
{
name: ["login", "li"],
description: "Authenticate with Shelve",
icon: "🔑",
},
{
name: ["logout", "lo"],
description: "Logout the current authenticated user",
icon: "🔓",
},
{
name: ["whoami", "w"],
description: "Shows the username of the currently logged-in user",
icon: "👤",
},
{
name: ["pull", "pl"],
name: "pull",
description: "Retrieve the environment variables from Shelve",
icon: "📥",
options: [
Expand All @@ -43,7 +28,7 @@ const shelveSubcommands: Fig.Subcommand[] = [
],
},
{
name: ["push", "ps"],
name: "push",
description: "Send the environment variables to Shelve",
icon: "📤",
options: [
Expand All @@ -57,23 +42,9 @@ const shelveSubcommands: Fig.Subcommand[] = [
],
},
{
name: ["link", "l"],
description: "Link the current directory with a Shelve project",
icon: "🔗",
options: [
{
name: ["--name", "-n"],
description: "Name of the project",
args: {
name: "project-name",
},
},
],
},
{
name: ["unlink", "ul"],
description: "Unlink the current directory from a Shelve project",
icon: "🔗",
name: "generate",
description: "Generate resources for the project",
icon: "🔄",
},
{
name: ["--help", "-h"],
Expand Down

0 comments on commit f32283d

Please sign in to comment.