Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
fix(cli): new project creation
Browse files Browse the repository at this point in the history
  • Loading branch information
juliomrqz committed Nov 17, 2018
1 parent 28f5f79 commit 1cbdf5e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/@statusfy/cli/index.js
Expand Up @@ -48,7 +48,7 @@ program

program
.command('init')
.description('Install a new version of Statusfy')
.description('Create a base project')
.option('-d, --dir <outDir>', 'specify the installation directory')
.action(({ dir }) => {
const outDir = dir ? path.resolve(dir) : null
Expand Down
2 changes: 1 addition & 1 deletion packages/@statusfy/core/lib/init.js
Expand Up @@ -169,7 +169,7 @@ module.exports = async function generate (sourceDir, cliOptions = {}) {

// .gitignore
fse.copySync(
path.join(__dirname, 'init', '.gitignore'),
path.join(__dirname, 'init', '_gitignore'),
path.join(outDir, '.gitignore')
)

Expand Down
4 changes: 2 additions & 2 deletions packages/docs/src/es/guide/commands.md
Expand Up @@ -5,7 +5,7 @@ Statusfy viene con un conjunto de comandos útiles, tanto para fines de desarrol

## init

Instala una nueva versión de Statusfy.
Crea una proyecto base.

``` bash
statusfy init
Expand Down Expand Up @@ -93,4 +93,4 @@ Donde `YYYY-MM-DD` es la ***fecha de creación*** y `slug` un ***nombre corto***
::: tip TIP

Puedes omitir la pregunta del Front Matter definiendo el campo `frontMatterFormat` en tu archivo de configuración. Más información en la [Guía de Referencia de Configuración](../config/README.md#frontmatterformat).
:::
:::
2 changes: 1 addition & 1 deletion packages/docs/src/guide/commands.md
Expand Up @@ -5,7 +5,7 @@ Statusfy comes with a set of useful commands, both for development and productio

## init

Install a new version of Statusfy.
Create a base project.

``` bash
statusfy init
Expand Down

0 comments on commit 1cbdf5e

Please sign in to comment.