Code Monkey home page Code Monkey logo

commander-charts's Introduction

Commander Docs & Chart Repo

Official Commander Charts Repo part of https://github.com/alfiankan/commander.

How to contribute and publish your chart here ?

  1. Fork this repo
  2. Create New chart following chart template below.
{
  "kind": "git", // chart group name alphabet [A-Z] [a-z] with no space (yocan use underscore _ )
  "description": "commander for Git", // chart group description
  "charts": [ // collection of charts
    {
      "usage": "load test apache benchmark", // chart usage
      "cmdt": "ab -n {{total_req}} -c {{total_concurrent}} {{target_url}}", // command or snippet template, use {{template}} to define template replacable by prompt
      "type": "cmd",
      "prompt": [ // promp definition to replace cmdt template
        {
          "tmplt": "total_req", // template associated with cmdt without double curly bracket 
          "label": "total request", // prompter label or intructions
          "default": "10" // prompter default value 
        },
        {
          "tmplt": "total_concurrent",
          "label": "total concurrent",
          "default": "2"
        },
        {
          "tmplt": "target_url",
          "label": "url load test target",
          "default": "https://github.com/"
        }
      ] 
    },
    {
      "usage": "unarchive tar file eg. .tar.gz",
      "cmdt": "tar -xvf {{file_path}}",
      "type": "cmd",
      "prompt": [
        {
          "tmplt": "file_path",
          "label": "archive file path",
          "default": "mypath.tar.gz"
        }
      ]
    }
  ]
}
  1. make it sure the kind name of chart is not duplicated
  2. put your file to statis/charts https://github.com/alfiankan/commander-charts/tree/main/static/charts
  3. add your chart kind to https://github.com/alfiankan/commander-charts/blob/main/static/charts/repo.chart.json as name and add readable description
  4. create pull request with branch name format charts/<kind> eg. charts/kubernetes

commander-charts's People

Contributors

alfajrimutawadhi avatar alfiankan avatar

Stargazers

 avatar

Watchers

 avatar

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.