0.0.7 • Published 6 years ago

this-is-your-life-cli v0.0.7

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

npm version Dependency Status

this-is-your-life-cli

CLI Implementation of https://github.com/trwolfe13/this-is-your-life

Install globally

  1. npm install -g this-is-your-life-cli

  2. Execute from CLI:

$ this-is-your-life-cli
{ race: { name: 'Hobgoblin', subraces: [], other: { Origin: [Object] } },
  subrace: undefined,
  class:
   { name: 'Warlock',
     ...
  1. Execute from CLI with options (See https://github.com/trwolfe13/this-is-your-life)
$ this-is-your-life-cli '' '' Monk
{ race:
   { name: 'Firbolg',
     subraces: [],
     other: { 'Reason for Adventure': [Object] } },
  subrace: '',
  class:
   { name: 'Monk',

Install as module

CommonJS

const generateCharacter = require('this-is-your-life-cli/lib').default;

ES6

import generateCharacter from 'this-is-your-life-cli/lib/';

console.log(chalk.blue('Generating Random Character'))
console.log(generateCharacter())

console.log(chalk.blue('Generating Monk Class Character'))
console.log(generateCharacter(null, null, 'Monk'))
0.0.7

6 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago