1.0.2 • Published 5 years ago

amplify-docs v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

AWS Amplify Plugin Docs

This plugin adds the following command to the Amplify Framework:

amplify docs <opts>

Installation

This plugin assumes that the Amplify CLI is already installed. For installation help, please see step 2 of the getting-started docs.

To install, simply enter the following command in your terminal:

npm i -g amplify-docs

Usage

amplify docs --react api

CommandDescription
amplify docsTakes the user to the docs homepage
amplify docs --{platform}Takes the to the specified platforms docs
amplify docs --{platform} {section}Takes the user to the specified section in their specified platform

For a complete list of available platform options, feel free to checkout the Source File.

Accepted sections are based on the sections in the docs

Contributing

There is an RFC open where feedback is being gathered to perhaps add this plugin directly into the framework itself. However if bugs are spotted, please open up a pull request to fix or simply file an issue on the repo.

Notes for Contributors

In parts of the amplify framework, the npm package opn is used. However, this plugin uses the package "open" as the former is deprecated:

This package is heavily commented while gathering community feedback. For more information on how the plugin is constructed, please see the Amplify docs. Additionally, if you are wanting to see how options and parameters are passed, you'll want to read up on the gluegun docs instead.

Lastly, I'll note some caveats that I ran across:

running amplify docs ios gives: "iOS front-end plugin enabled"

running amplify docs android gives: "android front-end plugin found."

This behavior built into the framework itself prevented me from doing amplify docs react auth as a command sequence.

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago