11 Commits

Author SHA1 Message Date
Jeffrey Smith II
77cca94cdc
fix: fixes an error where stdin could not be used to create tasks (#444) 2022-09-27 15:20:23 -04:00
Greg
65ff49fedf
chore(tasks): support looking up tasks by script id (#437) 2022-08-15 10:19:09 -06:00
Andrew Depke
826e03f8b2
feat: added script support when updating tasks for the cloud (#433)
* feat: added script support when updating tasks for the cloud

* feat: added script ID to task printing
2022-08-03 13:12:27 -06:00
Andrew Depke
1453e20f2b
feat: added script support when creating tasks for the cloud (#432) 2022-08-03 13:12:11 -06:00
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
Daniel Moran
d861490100
fix: return "unknown command" instead of "no help topic" error when unknown (sub)command is passed (#316)
Co-authored-by: Sam Lai <samuel.lai@gmail.com>
2021-11-02 14:17:42 -04:00
Daniel Moran
fa12328714
fix: detect and error out on incorrect positional args (#236) 2021-08-20 17:30:30 -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
Sam Arnold
63da8eccbd
feat: task subcommand (#105)
* feat: task subcommand

Closes #19

* fix: testing and review comments

* fix: pointer deref and error message
2021-05-26 08:44:22 -04:00
Sam Arnold
9747d05ae1
refactor: expose generated code and client business logic to share with Kapacitor (#103)
* refactor: take clients out of internal

* refactor: move stdio to pkg

* Move internal/api to api

* refactor: final changes for Kapacitor to access shared functionality

* chore: regenerate mocks

* fix: bad automated refactor

* chore: extra formatting not caught by make fmt
2021-05-25 10:05:01 -04:00
Sam Arnold
d54aa9ec2d
feat: create subcommand for tasks cli (#102)
* refactor: add task APIs to codegen

* feat: tasks subcommand

Co-authored-by: Dan Moran <dmoran@influxdata.com>
2021-05-25 09:06:37 -04:00