0.3.4 • Published 5 years ago
@featureninjas/cli v0.3.4
FeatureNinjas CLI
Connect a GitHub repository to FeatureNinjas to serve feature flags.
Installation
npm i -g @featureninjas/cliUsage
:warning: Note: FeatureNinjas currently only works with GitHub repositories. We're going to extend this in the near future.
Navigate to the repository that you want to connect.
fn initA login and authorization request will pop up in a browser window in case you run this command for the first time. fn init adds a web hook to your repository, and registers your repository to our backend.
Commands
Init - Initialize a connection between FeatureNinjas and your GitHub repository
fn initAdds a web hook to your repository, and registers your repository to our backend.
Info - Shows whether the repository is connected correctly
fn infoDisconnect - Disconnects a repo from FeatureNinjas
fn disconnect