HexmosTech / Lama2

Free, Lightweight & Collaborative API Client
https://hexmos.com/lama2/index.html
GNU Affero General Public License v3.0
109 stars 6 forks source link

Origin/suggest relevant envs #32

Closed lovestaco closed 1 year ago

lovestaco commented 1 year ago

What type of MR is this?

Description

Issue

More autocomplete problem

Important files to start review from

controller.go

l2 --help

Usage:
  l2 [OPTIONS] [LamaAPIFile]

Application Options:
  -o, --output=      Path to output JSON file to store logs, headers and result
  -v, --verbose      Show verbose debug information
  -b, --prettify     Prettify specified .l2 file
  -c, --convert=     Generate code in given language and library (ex: python.requests); reference: tinyurl.com/l2codegen
  -n, --nocolor      Disable color in httpie output
  -u, --update       Update l2 binary to the latest released version (Linux/MacOS only)
  -p, --postmanfile= JSON export from Postman (Settings -> Data -> Export Data)
  -l, --lama2dir=    Output directory to put .l2 files after conversion from Postman format
  -h, --help         Usage help for Lama2
  -e, --env=         Get a JSON of environment variables revelant to input arg (default: UNSET)
      --version      Print Lama2 binary version

Help Options:
  -h, --help         Show this help message

Added tests?

Added to documentation?

If documentation update is there then run make mkdocs once PR is in acceptable state.

shrsv commented 1 year ago

Please mention relevant issues in description, so that they get tracked, and eventually closed.

shrsv commented 1 year ago

Let's set default value to UNSET_VU5TRVQ just to avoid conflicts with a genuine value such as UNSET