Giter VIP home page Giter VIP logo

workspace's People

Watchers

 avatar

workspace's Issues

Generate nice help text

Generate help text when calling ws --help.

  • first render flows
  • then show actions
  • then show "internal" commands

Something like this:

  • description could be gray
  • ignore "default"
  • tries to align the "description" in same line
  • tries generate runs by returning "targets". Append to existing text.
  • if createTargets is used nothing is generated in runs text
  • XX if name is not set, use directory name.
Welcome to wrkflow workspace CLI for XX project. 

Usage:

ws ................ Runs default tasks in your config (change this description `workspace.flows.default.options.description = 'XX')`.
ws install ...... Setup the current workspace with the install command. Great for new users. 
ws check ...... Runs npm:format, npm:lint
ws npm:format .... Runs npm script.


Contacts:
    Admin: [email protected]
    Dev: [email protected]

If the we are in directory without workspace config and no "action" show different help text:

Welcome to wrkflow workspace CLI. 

Usage:
ws install <git-repository-url> ..... Install existing workspace from given repository.
ws init ........................................... Initialize new workspace in current directory

ws w:def ....................................... Copies current Typescript definitions to your project

Install remote workspace

Add ability to install remote workspace via install command.

ws install [email protected]:work-flow/workspace.git

Command options

  • dir: target directory

Bussines logic

  • in cwd directory call clone repository in target directory (generates name as git clone does)
  • calls ws install in the project directory to call any install flow actions
  • try to change current directory of cli?

Add ability to set project options

For use cases like:

  • by default the npm will be called in docker-compose, but frontend team wants local installation. ws set {key} true

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.