@adobe/create-aio-lib

Create an AIO Lib

Usage no npm install needed!

<script type="module">
  import adobeCreateAioLib from 'https://cdn.skypack.dev/@adobe/create-aio-lib';
</script>

README

oclif Version Downloads/week Build Status License License Codecov Coverage

@adobe/create-aio-lib

CLI tool to create AIO Libs

This uses this template.

Usage (npm)

Make sure you have npm version 6.1.0 or greater:

npm --version

Then run:

npm init @adobe/aio-lib <library_name> <repo_name> [options]

where <library_name> is the name of your library (this will create the folder in the current working directory by default)

Usage (cli)

npx @adobe/create-aio-lib <library_name> <repo_name> [options]

where <library_name> is the name of your library where <repo_name> is the scoped name of your repo

Command

Creates an AIO Lib

USAGE
  $ create-aio-lib LIBNAME REPONAME

ARGUMENTS
  LIBNAME   the name of the library
  REPONAME  the repo of the library

OPTIONS
  -h, --help                     show CLI help

  -o, --outputDir=outputDir      folder to output the library in (defaults to
                                 the current working folder)

  -t, --templateUrl=templateUrl  the template to use

  -v, --version                  show CLI version

  -w, --overwrite                overwrite any existing output folder

DESCRIPTION
  Example:
       create-aio-lib MyLibClass myOrg/myRepo

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.