GithubHelp home page GithubHelp logo

gtmhub / gtmhub-cli Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 7.19 MB

A CLI tool for gtmhub

Home Page: https://gtmhub.com

License: MIT License

Go 94.81% Makefile 2.41% Shell 2.77%
gtmhub okr okrs

gtmhub-cli's People

Contributors

georgievrado avatar petarpetkov avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

happyqingye

gtmhub-cli's Issues

Switch input value and metric selection during update

Right now when you call gtmhub update you are first asked to provide a value and then you can select to which metric will this apply.
It will be better if the two actions are reversed. You first select the metric (ideally you will be able to also see current/target values) and then input the update value.

Introduce a get command

Introduce a get command that merges the show krs and list.
The get command should allow to work with various gtmhub resources

Default list to load when executing gtmhub update without parameters

Currently when executing gtmhub update we are given a choice of the metrics that are currently in active sessions. This list might be big and not always on point. It will be best to be able to instead specify a list or a query to be loaded by default if no parameters are specified.

Additionally it will be nice if you can pass a list id to overwrite any defaults and a flag to just display all krs.
If no default list is specified and no overwrite is provided the current behavior is fine.

gtmhub update fails if there are no krs.

If the interactive krs selector has no items it throws an out of range exception

`panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
gtmhub-cli/commands.getIdInteractively(0xabe4fe, 0x2c)
/home/petar/Development/Go/src/github.com/gtmhub/gtmhub-cli/commands/update.go:95 +0x1f5
gtmhub-cli/commands.UpdateAction(0xc000351880, 0x4, 0x6)
/home/petar/Development/Go/src/github.com/gtmhub/gtmhub-cli/commands/update.go:65 +0x2dd
github.com/urfave/cli/v2.(*Command).Run(0xf95820, 0xc000351640, 0x0, 0x0)
/home/petar/Development/Go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:163 +0x4ed
github.com/urfave/cli/v2.(*App).RunContext(0xc0002bcb60, 0xc6d680, 0xc0000c2040, 0xc0000b8020, 0x2, 0x2, 0x0, 0x0)
/home/petar/Development/Go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:313 +0x81f
github.com/urfave/cli/v2.(*App).Run(...)
/home/petar/Development/Go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:224
main.main()
/home/petar/Development/Go/src/github.com/gtmhub/gtmhub-cli/main.go:40 +0x376
`

gtmhub get performs a list command

If you call gtmhub get with no other parameters you should be presented with the help on how the get command works.
Instead right now the gtmhub get behaves as if you have called gtmhub get lists.

Generate release notes on each new release

It will be best if we can generate release notes to be included with each new release published. Those release notes should be based on all the closed issues since the last release.

Add readme.md

Add brief introduction of this repository, what it is for, and links to Gtmhub documentation

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.