Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/useflyyer/flyyer-cli
Command-line interface to develop dynamic og:images via https://flyyer.io | Generate social share images with web technologies
https://github.com/useflyyer/flyyer-cli
cli flyyer image-generator open-graph social-preview twitter-cards typescript
Last synced: 2 months ago
JSON representation
Command-line interface to develop dynamic og:images via https://flyyer.io | Generate social share images with web technologies
- Host: GitHub
- URL: https://github.com/useflyyer/flyyer-cli
- Owner: useflyyer
- Created: 2020-06-28T20:08:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T07:49:13.000Z (almost 2 years ago)
- Last Synced: 2024-08-10T21:22:15.244Z (5 months ago)
- Topics: cli, flyyer, image-generator, open-graph, social-preview, twitter-cards, typescript
- Language: TypeScript
- Homepage: https://flyyer.io
- Size: 2.4 MB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
@flyyer/cli
===========**Flyyer CLI**
📚 Please read the documentation here: [https://docs.flyyer.io/docs/cli/flyyer-cli](https://docs.flyyer.io/docs/cli/flyyer-cli)
👉 To start a new project use [`create-flyyer-app`](https://github.com/useflyyer/create-flyyer-app) checkout our [Getting Started guide](https://docs.flyyer.io/docs/).
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@flyyer/cli.svg)](https://npmjs.org/package/@flyyer/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@flyyer/cli.svg)](https://npmjs.org/package/@flyyer/cli)* [Usage](#usage)
* [Commands](#commands)# Usage
```sh-session
$ npm install -g @flyyer/cli
$ flyyer COMMAND
running command...
$ flyyer (-v|--version|version)
@flyyer/cli/2.0.2 darwin-x64 node-v16.4.2
$ flyyer --help [COMMAND]
USAGE
$ flyyer COMMAND
...
```# Commands
* [`flyyer build [DIRECTORY]`](#flyyer-build-directory)
* [`flyyer deploy [DIRECTORY]`](#flyyer-deploy-directory)
* [`flyyer help [COMMAND]`](#flyyer-help-command)
* [`flyyer start`](#flyyer-start)## `flyyer build [DIRECTORY]`
Build Flyyer project for production.
```
USAGE
$ flyyer build [DIRECTORY]ARGUMENTS
DIRECTORY [default: .] Root directory where flyyer.config.js and the /templates directory is located.OPTIONS
-c, --config=config [default: flyyer.config.js] Relative path to flyyer.config.js
-h, --help show CLI helpDESCRIPTION
See online documentation here: https://docs.flyyer.io/docs/cli/flyyer-cli#flyyer-buildEXAMPLES
$ flyyer build
$ flyyer build --help
```_See code: [src/commands/build.ts](https://github.com/useflyyer/flyyer-cli/blob/v2.0.2/src/commands/build.ts)_
## `flyyer deploy [DIRECTORY]`
Deploy your Flyyer templates (remember to execute 'build' before running this command)
```
USAGE
$ flyyer deploy [DIRECTORY]ARGUMENTS
DIRECTORY [default: .] Root directory where flyyer.config.js and the /templates directory is located.OPTIONS
-c, --config=config [default: flyyer.config.js] Relative path to flyyer.config.js
-h, --help show CLI help
--dry Do everything but don't upload nor update deckDESCRIPTION
See online documentation here: https://docs.flyyer.io/docs/cli/flyyer-cli#flyyer-deployEXAMPLES
$ flyyer deploy
$ flyyer deploy src
$ flyyer deploy --config flyyer.config.staging.js
$ flyyer deploy --help
```_See code: [src/commands/deploy.ts](https://github.com/useflyyer/flyyer-cli/blob/v2.0.2/src/commands/deploy.ts)_
## `flyyer help [COMMAND]`
display help for flyyer
```
USAGE
$ flyyer help [COMMAND]ARGUMENTS
COMMAND command to show help forOPTIONS
--all see all commands in CLI
```_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.3/src/commands/help.ts)_
## `flyyer start`
This command starts a development server using Parcel.js by default at http://localhost:7777
```
USAGE
$ flyyer startOPTIONS
-H, --host=host [default: localhost]
-h, --help show CLI help
-p, --port=port [default: 7777]
--browser=(auto|none) [default: auto]
--httpsDESCRIPTION
See online documentation here: https://docs.flyyer.io/docs/cli/flyyer-cli#flyyer-startEXAMPLES
$ flyyer start
$ flyyer start -p 8000
$ flyyer start -p 8000 -H 0.0.0.0 --browser=none
$ flyyer start --help
```_See code: [src/commands/start.ts](https://github.com/useflyyer/flyyer-cli/blob/v2.0.2/src/commands/start.ts)_