enfcli

Installation

To install enfcli release versions of the gem run

$ gem install enfcli

To update existing enfcli installation to latest release version

$ gem update enfcli

To install enfcli pre-release verions

$ gem install enfcli --pre

Usage

  • Connect to ENF bash $ enfcli --host <host> --user <user> Once authenticated, type help in enfcli prompt to list all available enfcli commands
  enfcli-user@domain> help

Release

enfcli pre-release and release versions are automatically published to RubyGems by the build process. Each commit to master branch publishes a pre-release version of the gem.

Publishing Pre-Release version

  • Open a pull request to merge the feature branch into master
  • After review and approval merge feature branch into master
  • The build process publishes a pre-release version if gem version matches one of the following patterns:
    • MAJOR.MINOR.PATCH-alpha
    • MAJOR.MINOR.PATCH-beta
    • MAJOR.MINOR.PATCH-rc

Publishing a Release version

  • Update enfcli version to MAJOR.MINOR.PATCH in lib/enfcli/version.rb and commit the change to master
  • Create and push a tag with the same name as the version
  • The build process publishes a release version of the gem

License

Copyright 2018 Xaptum, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License from the LICENSE.txt file or at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.