https://github.com/davguij/phcli
ProductHunt as a command line tool
https://github.com/davguij/phcli
cli command-line-tool node nodejs oclif product-hunt
Last synced: 2 months ago
JSON representation
ProductHunt as a command line tool
- Host: GitHub
- URL: https://github.com/davguij/phcli
- Owner: davguij
- Created: 2018-03-22T14:48:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-26T07:37:27.000Z (about 7 years ago)
- Last Synced: 2025-03-18T11:30:14.843Z (2 months ago)
- Topics: cli, command-line-tool, node, nodejs, oclif, product-hunt
- Language: TypeScript
- Size: 112 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
phcli
=====ProductHunt as a CLI
[](https://npmjs.org/package/phcli)
[](https://circleci.com/gh/_my/phcli/tree/master)
[](https://ci.appveyor.com/project/_my/phcli/branch/master)
[](https://codecov.io/gh/_my/phcli)
[](https://greenkeeper.io/)
[](https://snyk.io/test/github/_my/phcli)
[](https://npmjs.org/package/phcli)
[](https://github.com/_my/phcli/blob/master/package.json)* [Usage](#usage)
* [Commands](#commands)# Usage
```sh-session
$ npm install -g phcli
$ phcli COMMAND
running command...
$ phcli (-v|--version|version)
phcli/1.0.0 darwin-x64 node-v8.9.4
$ phcli --help [COMMAND]
USAGE
$ phcli COMMAND
...
```# Commands
* [phcli hello [FILE]](#hello-file)
* [phcli help [COMMAND]](#help-command)
## hello [FILE]describe the command here
```
USAGE
$ phcli hello [FILE]OPTIONS
-f, --force
-n, --name=name name to printEXAMPLE
$ phcli hello
hello world from ./src/hello.ts!
```_See code: [src/commands/hello.ts](https://github.com/davguij/phcli/blob/v1.0.0/src/commands/hello.ts)_
## help [COMMAND]
display help for phcli
```
USAGE
$ phcli 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/v1.1.6/src/commands/help.ts)_