* feat: set logging info for cloud- or oss-only commands
* fix: add cloud-only to BucketSchemasApi
* fix: api-only flagging and %w for return error wrapping
* fix: keep the model assignment
* feat: v1 dbrp commands
* fix: fixed the cloud create command
* chore: cleanup
* fix: updated based on required attrs in swagger
* feat: update to latest openapi rev
* chore: made dbrps plural consistently
* chore: formatting
* fix: standardized Default field name and added comments
* chore: changed file name for command to singular
* feat(write): warn about standalone CR characters in header lines
* feat(write): add test for Windows CRLF line endings
* chore: improve warning message
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
* chore: update test with a new warning message
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
* 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
I started to see strange behavior where flags would merge across
subcommands. I'm not sure if the bug was in our 'append' usage or
in urfave/cli's handling of flag-slices, but this change seems to
fix the problem either way.
* build: add goimports to fmt target to remove unused imports
* feat: update codegen template to support returning raw response body
* feat: add support for gunzip-ing response bodies
* refactor: remove unused piece from codegen return values
* feat: update generated client to include schema-management APIs
* feat: implement interfaces to decode flags and CSV
* feat: implement decoders for different measurement schema column formats
* feat: extend bucket CLI commands to support schema type property
* feat: add CLI commands to manage measurement schema
* test: add unit tests for bucket schema create, update and list commands