Git Product home page Git Product logo

churl's People

Contributors

object88 avatar

Watchers

 avatar

churl's Issues

Background process

Requests to a chart museum are unlikely to happen in isolation. There should be a background process which keeps a port-forward open until some timeout expires. Individual requests should be routed through the background processes.

Spin up arbitrary chart museum for testing

For the purposes of testing, develop method of spinning up an ephemeral local chart museum. Must also spin down once tests are completed. Must be able to span several individual tests.

Draft CLI

Determine set of CLI commands and options available, document, and create issues to track their implementation & testing.

Examples:
churl config add ...
churl config current
churl config list
churl config remove CONFIG
churl config set current CONFIG
churl config set property CONFIG PATH VALUE
churl download latest CHART
churl download version CHART VERSION
churl get latest CHART
churl get latest-version CHART
churl get version CHART VERSION
churl list
churl init
churl version

Interactive CLI

In some cases, it may be useful to prompt the user for input. For example, if the user enters:

$ churl config add

Instead of erroring out immediately, it could be useful to prompt the user for input:

$ churl config add
Enter name:

Should also provide way to defeat interactive mode, to ensure scripted usage doesn't halt.

Add chart museum to config

Need ability to add a chart museum reference to the init file. Command line should accept a name for the configuration, and an address (service name & namespace, URL, etc.). Assume no authentication / authorization.

$ churl config add NAME URL

Get latest metadata

Given a CLI:

$ churl get latest NAME

[ ] Read a chart museum configuration from the config
[ ] Open a port-foward
[ ] Get all metadata
[ ] Return newest metadata

Must include tests.

Command line auto-complete

Shells such as bash and zsh offer the ability to do auto-completion. The cobra library offers to implement this. Would like to be able to do something like:

churl g[TAB] ->
churl get

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.