prompt-gh-clone

阅读时长 6 分钟读完

Prompt for the owner/name of a GitHub repository to clone.

prompt-gh-clone

Prompt for the owner/name of a GitHub repository to clone.

Usage

Options

options.dest

Set the default directory to use when the user is prompted for the destination directory.

Type: string

Default: The name of the repository

options.message

Change the prompt message.

Type: string

Default: GitHub repo to clone? (owner/name)

Example

About

Related projects

  • prompt-confirm: Confirm (yes/no) prompt. Can be used standalone or with a prompt system like [Enquirer]. | homepage
  • prompt-radio: Radio prompt. Can be used as a standalone prompt, or as a plugin for [Enquirer]. | homepage

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Running tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. Released under the MIT License.


This file was generated by verb-generate-readme, v0.6.0, on September 10, 2017.

HomePage

https://github.com/enquirer/prompt-gh-clone

Repository

git+https://github.com/enquirer/prompt-gh-clone.git

来源:JavaScript中文网 ,转载请注明来源 https://www.javascriptcn.com/post/6005607081e8991b448de974

纠错
反馈