0.0.57 • Published 7 months ago

@phase2/outline-cli v0.0.57

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
7 months ago

Outline CLI

The command line tool for Outline.

oclif Version Downloads/week License

Features

The @phase2/outline-cli handles a multitude (1 presently) of common day to day tasks when using Outline.

  • Scaffold new design system project(s) using the CLI.
  • @todo: Scaffold new components using the CLI.
  • @todo: Scaffold new controllers using the CLI.
  • @debug: Do some things.
  • @review: Do some things.
  • @note: Do some things.
  • @hack: Do some things.
  • @todo: Do some things.

Usage

Using NPX (Recommended)

Using npx will ensure you are always using the latest version of the CLI without having to ensure your global dependencies are up to date.

npx @phase2/outline-cli COMMAND

Checking the version being used via NPX

You will want this version to match up with the latest version at npmjs Version.

npx @phase2/outline-cli --version

Updating Version used by NPX

Ensure cache is cleared if local environment is not looking for the latest version. Uses the clear-npx-cache package.

npx clear-npx-cache

Check the version with the cli again

npx @phase2/outline-cli --version

Global NPM Installation

npm install -g @phase2/outline-cli

If you install @phase2/outline-cli locally, rather than running the commands with npx @phase2/outline-cli, you'd preface those commands with outline COMMAND instead.

outline --version
outline help init
outline init

Commands

outline init

Scaffolds a new Outline project based on prompts or automated via arguments.

Scaffolds a new Outline Project

USAGE
  $ outline init [-a] [-n <value>] [-s <value>] [-p <value>] [-d <value>] [-t <value>]

FLAGS
  -a, --automated            Enable/disable interactive mode.
  -d, --description=<value>  Project description.
  -n, --name=<value>         Project name.
  -p, --packageName=<value>  Project package name.
  -s, --slug=<value>         Project slug.
  -t, --template=<value>     Project template.

DESCRIPTION
  Scaffolds a new Outline Project

EXAMPLES
  $ outline init
  $ npx @phase2/outline-cli init

Interactive

The following is the simplest method that will prompt you step by step through providing the name, slug, packageName, description, and template that will be sent to the init functionality.

npx @phase2/outline-cli init

Automated

This method enables you to scaffold a design system by a set of provided values. The required automated flag must be provided in order to "disable" the default inquirer prompts.

When providing flags to the init command, it should be assumed that ALL prompts are provided through flags, and not just one. Using the --automated flag turns off the inquirer functionality and would otherwise provide default values for all missing flags.

Sample 1
npx @phase2/outline-cli init \
  --automated \
  --name="Design System: 1" \
  --slug="design-system-one" \
  --packageName="@phase2/design-system-one" \
  --description="Web component library powered by OutlineJS." \
  --template="default" 
Sample 2
npx @phase2/outline-cli init \
  --automated \
  --name="Design System: 2" \
  --slug="design-system-two" \
  --packageName="@phase2/design-system-two" \
  --description="Web component library powered by OutlineJS." \
  --template="default"
Sample 3
npx @phase2/outline-cli init \
  --automated \
  --name="Design System: 3" \
  --slug="design-system-three" \
  --packageName="@phase2/design-system-three" \
  --description="Web component library powered by OutlineJS." \
  --template="default"  
0.0.41

11 months ago

0.0.42

11 months ago

0.0.43

10 months ago

0.0.44

10 months ago

0.0.45

10 months ago

0.0.46

10 months ago

0.0.47

10 months ago

0.0.51

10 months ago

0.0.52

10 months ago

0.0.53

9 months ago

0.0.54

9 months ago

0.0.55

9 months ago

0.0.56

9 months ago

0.0.57

7 months ago

0.0.50

10 months ago

0.0.48

10 months ago

0.0.49

10 months ago

0.0.40

12 months ago

0.0.37

12 months ago

0.0.38

12 months ago

0.0.39

12 months ago

0.0.31

1 year ago

0.0.32

1 year ago

0.0.33

1 year ago

0.0.36

12 months ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.25

1 year ago

0.0.30

1 year ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.28

1 year ago

0.0.29

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.14

1 year ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago