9 Commits

Author SHA1 Message Date
Andrew Lee
50de408a0a
fix: add mutual exclusion for OrgId and OrgName params (#377)
Display an error when the OrgName and OrgId flags are both passed in. Only one or the other is allowed.

closes https://github.com/influxdata/influx-cli/issues/371
2022-05-13 18:50:22 -06:00
Dane Strandboge
adc58b8441
chore: refactor influxid.ID, cleanup organization checking (#326) 2021-11-10 15:12:59 -06:00
Daniel Moran
fa12328714
fix: detect and error out on incorrect positional args (#236) 2021-08-20 17:30:30 -04:00
Daniel Moran
40fc1845e9
feat: port stacks command from influxdb (#168) 2021-06-30 17:21:50 -04:00
Daniel Moran
ead44e4e83
fix: downgrade urfave/cli to v1 to enable more flexible parsing (#154) 2021-06-28 14:49:26 -04:00
mcfarlm3
72d1ad8361
feat: port influx export stack subcommand (#150)
* confirmed subcommand parsing

* feat: port influx export stack subcommand

* refactor: removed redundant code and improved error messages

* chore: ran make fmt to fix code formatting issues

Co-authored-by: Michelle McFarland <michellemcfarland@Michelles-MacBook-Pro.local>
2021-06-28 09:02:49 -07:00
Daniel Moran
a029bf2871
refactor: remove resource-type enums from export commands (#137) 2021-06-22 09:10:03 -04:00
Daniel Moran
a4fdefc392
feat: port export all command from influxdb (#134) 2021-06-21 12:34:15 -04:00
Daniel Moran
bd0b90df41
feat: port top-level export command from influxdb (#131) 2021-06-21 08:23:18 -04:00