#服务器 #交互 #env-store-rusty-api

app envx

通过CLI与envx服务器交互

1个不稳定版本

0.4.1 2024年1月17日

#848密码学

MIT 许可证

100KB
2.5K SLoC

env-cli

此CLI处于alpha测试阶段,可能无法保证工作正常

作者:@alexng353

env-store/envs编写的非常简单的CLI

待办事项

  • 恢复到单个全局配置文件

用法

Interact with env-store/rusty-api via CLI

Usage: envx [OPTIONS] <COMMAND>

Commands:
  add-user-to-project  Add a user to a project
  auth                 Test authentication with the server
  debug                Unset the current project
  decrypt              Decrypt a string using GPG
  encrypt              Encrypt a string using GPG
  export               Export a public or secret key
  gen                  Generate a key using GPG Saves the key to ~/.envcli/keys/<fingerprint>
  import               Import ascii armored keys from a file
  link                 Get all environment variables for a project
  run                  Run a local command using variables from the active environment
  set                  Set a variable
  shell                Open a subshell with envcli variables available
  sign                 Sign a message with a key
  unlink               Unset the current project
  unset                Unset (delete) an environment variable
  upload               If your key is not in the database, use this command to upload it
  variables            Get all environment variables for the current configured directory
  version              Fancy, pretty-printed version information
  delete               Delete a resource. (project, key)
  new                  Create a resource. (project)
  get                  Get a resource. (project, key, config)
  help                 Print this message or the help of the given subcommand(s)

Options:
      --silent   
  -h, --help     Print help
  -V, --version  Print version

致谢

本项目采用MIT许可证。MIT许可证的副本可以在LICENSE文件中找到。

本项目使用了来自Railway的CLIv3的代码,版权所有(c) [2023] Railway Corp。Railway CLI采用MIT许可证。MIT许可证的副本可以在attributions/railway/LICENSE文件中找到。

依赖项

~29–51MB
~827K SLoC