Giter Site home page Giter Site logo

astra-cli's People

Contributors

rsds143 avatar weideng1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

astra-cli's Issues

Polish up command calls

We should never have ./bin/whatever. It is fragile (doesn't work everywhere) and looks immature.

We should get and put the bundle in a specific place (maybe ~/.config/astra/bundle?) or use the .astrarc/.env file

It should be called "astra" not "astra-cli" to match with other cli's out there.

error in help text for user and keyspace

-k, --keyspace string keyspace user to give to the Astra Database
-n, --name string name to give to the Astra Database

these two are actually reversed in meaning

display version support when running

  • need to update build to automatically change version to match the tag
  • all commands should display astra version
  • provide version subcommand to generate easily parsable version

improve progress

the current progress leaves a lot to be desired and we just get
2021/09/28 15:32:04 waiting
2021/09/28 15:32:35 waiting

replace this with just simple dots I guess?

"json" in output

Is there really an extra "json" in the output here? It should just be the json file, for piping to jq or whatever.

./bin/astra-cli db get 2c3bc0d6-5e3e-4d77-81c8-d95a35bdc58b -o json
json
{

add schema operations

need to add schema operations to the tooling and potentially some basic data commands (maybe executing CQL? hard to say)

support basic mutations

We should cover the whole range of common tasks - create a db, add a row, create a table, update a row, delete a row, delete a row, delete a table, delete a database.

We should allow for ingestion of a json file with operations to execute.

create curl bash install script

With home-brew does the executable really go into ./bin?

Most people will have no idea which release they need. Please make a Mac/Linux/Win executable. On first run it should:

  • Install the binary into the path or add the binary path to the PATH
  • Run astra-setup, which guides you to get a token (which currently just populates .astrarc and .env but could pull the bundle)

WaitUntil doesn't wait long enough in Astra cluster creation

When creating a E-tier cluster in Astra, we often encounter the following error:

$ astra -e dev db create -l AWS -k testks -n clitest -r us-east-1 -t E60
..........................................................................................unable to create '{1 AWS testks clitest <nil> us-east-1 E60 <nil>}' with error waiting for status check on create db failed because 'unable to find db id aae7d687-1083-4c04-915c-fdf79a2cef84 with status [ACTIVE] after 2700 seconds'

This can be easily fixed by allowing it to wait for 1 hour instead of 2700 seconds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.