DevNAS CLI

DevNAS CLI (Command Line Interface) is a command line tool to perform some common operations for DevNAS based solutions.

Installation

DevNAS CLI is a dotnet global tool. Install it using a command line window:

 

 

 

dotnet tool install -g DevNAS.Cli

To update an existing installation:

dotnet tool update -g DevNAS.Cli

Commands

Here, is the list of all available commands before explaining their details:

  • help;: Shows help on the usage of the DevNAS CLI.
  • push-module: Push Module to devnas nuget store with new version.
  • update-module: update the module version for specified solution.

help

Shows basic usages of the DevNAS CLI.

Usage:

devnas help [command-name]

Examples:

devnas help        # Shows a general help.

push-module

Push Module to devnas nuget store with new version.

Usage:

devnas push-module -p <module path>

or go to the module directory

devnas push-module

Examples:

devnas push-module -p E:\Repos\Devnas\modules\DevNAS.StorageManagement

update-module

update the module version for specified solution.

Usage:

devnas update-module -p <solution-path> -m <module-name> -v <module-version>

or go to the solution directory

devnas update-module -m <module-name> -v <module-version>

Example:

devnas update-module -m DevNAS.StorageManagement -v 2.0.0

 

 

 

In this document