0.1.0 • Published 5 years ago

worchspace v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Worchspace

Orchestration tool for local development

🎶🎻🎶🎷👩‍💻🎺🎶🥁🎶

Worchspace config

.worchspace.yml structure example

repositories:
  REPOSITORY_NAME_1:
    directory: '' # optional
    url: 'url'
    install:
      COMMAND_NAME_1: '...'
      COMMAND_NAME_2: '...'
    update:
      COMMAND_NAME_1: '...'
      COMMAND_NAME_2: '...'
    reset:
      COMMAND_NAME_1: '...'
      COMMAND_NAME_2: '...'
    run:
      COMMAND_NAME_1: '...'
    test:
      COMMAND_NAME_1: '...'
  REPOSITORY_NAME_2:
    url: 'url'
    config:
      COMMAND_NAME_1: '...'
      COMMAND_NAME_2: '...'
    install:
      COMMAND_NAME_1: '...'
      COMMAND_NAME_2: '...'
    run:
      COMMAND_NAME_1: '...'
    # test:
    #   COMMAND_NAME_1: '...'

general:
  config:
    COMMAND_NAME_1: '...'
    COMMAND_NAME_2: '...'

templates:
  TEMPLATE_EXAMPLE:
    path: './components'
    extension: 'js'
    case: 'camelCase'

Commands

Initializaction

Creates a .workspace directory.

$ worchspace init

Default

Initialize default configuration. It clones and executes default commands.

$ worchspace

### Clone

$ worchspace clone <?repository>

Reset

Remove selected repositories, clone them and config them again.

$ reset <?repository> <?command>

### Config

Execute config commands

$ config <?repository> <?command>

Install

Execute install commands

$ install <?repository> <?command>

Run

Execute run commands

$ install <?repository> <?command>

## General Config

To be defined