Search Results for

      Show / Hide Table of Contents

      Packager CLI

      The packager CLI tool can be used for packaging Intent Architect artifacts.

      Pre-requisites

      Latest release version of .NET.

      Installation

      This CLI tool is available as a .NET Tool and can be installed with the following command:

      dotnet tool install Intent.Packager.CLI --global
      
      Note

      If dotnet tool install fails with an error to the effect of The required NuGet feed can't be accessed, perhaps because of an Internet connection problem. and it shows a private NuGet feed URL, you can try add the --ignore-failed-sources command line option (source).

      You should see output to the effect of:

      You can invoke the tool using the following command: intent-packager
      Tool 'intent.packager.cli' (version 'x.x.x') was successfully installed.
      

      Usage

      Intent.Packager.CLI [command] [options]

      Options

      Option Description
      --version Show version information
      -?, -h, --help Show help and usage information
      --warning-logging-command <warning-logging-command> Command to use for logging a warning. Some continuous integration environments watch output for "commands" for logging of warnings. See the documentation on Serilog.Expressions ExpressionTemplate for formatting options.
      --error-logging-command <error-logging-command> Command to use for logging an error. Some continuous integration environments watch output for "commands" for logging of errors. See the documentation on Serilog.Expressions ExpressionTemplate for formatting options.

      Commands

      Command Description
      package-application <applicationPath> <destinationFolder> Package an application.

      package-application command

      Package an application.

      package-application arguments

      Argument Description
      <applicationPath> Path to the .application.config file for the application.
      <destinationFolder> The destination folder in which to place the packaged module. The file will be named the same as the metadata file with a .imod extension.

      package-application options

      Option Description
      --version <version> The version of the module.
      --authors <authors> The authors of the module.
      --icon-url <icon-url> The icon to use for the module. The application's icon will be used by default.
      -?, -h, --help Show help and usage information

      package-application example

      intent-packager package-application "./intent/intent-application/intent-application.application.config" "./Intent.Modules" --version "0.0.1" --authors "Intent Architect"
      
      • Edit this page
      ☀
      ☾
      In this article
      Back to top Copyright © 2017-, Intent Architect Holdings Ltd