turbot / flowpipe

Flowpipe is a cloud scripting engine. Automation and workflow to connect your clouds to the people, systems and data that matters.
https://flowpipe.io
GNU Affero General Public License v3.0
383 stars 16 forks source link

[cli-flag] Add support for --prune flag #362

Closed vkumbha closed 11 months ago

vkumbha commented 11 months ago

cli version: Flowpipe v0.1.0-beta.202312011224

As per the documentation https://flowpipe-io-git-main-turbot.vercel.app/docs/reference/cli/mod

Flag Description
--prune Remove unused mods and dependencies when doing mod update and mod install (default true).

But looks like it is not implemented yet.

$ flowpipe mod install --prune
Error: unknown flag: --prune
Usage:
  flowpipe mod install [flags]

Flags:
      --git-url-mode GitUrlMode   Git URL mode (https or ssh) (default https)
  -h, --help                      Help for init

Global Flags:
      --host string           API server host, including the port number
      --insecure              Skip TLS verification
      --install-dir string    Path to the Config Directory (default "/Users/venu/.flowpipe")
      --mod-location string   Path to the workspace working directory (default "/Users/venu/turbie/turbot/_docs_qa/flowpipe-samples/ip_profiler")
      --output output         Output format; one of: table, yaml, json (default table)
      --workspace string      The workspace to use (default "default")
vkumbha commented 11 months ago

clubbing with https://github.com/turbot/flowpipe/issues/361