Intent.SoftwareFactory.CLI.Nightly 4.2.999-nightly.2024-06-22-0102

This is a prerelease version of Intent.SoftwareFactory.CLI.Nightly.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet tool install --global Intent.SoftwareFactory.CLI.Nightly --version 4.2.999-nightly.2024-06-22-0102
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Intent.SoftwareFactory.CLI.Nightly --version 4.2.999-nightly.2024-06-22-0102
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Intent.SoftwareFactory.CLI.Nightly&version=4.2.999-nightly.2024-06-22-0102&prerelease
nuke :add-package Intent.SoftwareFactory.CLI.Nightly --version 4.2.999-nightly.2024-06-22-0102

Software Factory CLI

A CLI (command line interface) version of the Intent Architect Software Factory.

Pre-requisites

Latest Long Term Support (LTS) 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.SoftwareFactory.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-cli
Tool 'intent.softwarefactory.cli' (version 'x.x.x') was successfully installed.

Usage

intent-cli [command] [options]

Options

Option Description
--version Show version information
-?, -h, --help Show help and usage information
--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. Will be automatically configured when the process is detected to be running on the following kinds of build servers:<br />- Azure Pipelines<br /><br />See the documentation on Serilog.Expressions ExpressionTemplate for formatting options: https://github.com/serilog/serilog-expressions#formatting-with-expressiontemplate
--warning-logging-command <warning-logging-command> Command to use for logging a warning. Some continuous integration environments watch output for "commands" for logging of errors. Will be automatically configured when the process is detected to be running on the following kinds of build servers:<br />- Azure Pipelines<br /><br />See the documentation on Serilog.Expressions ExpressionTemplate for formatting options: https://github.com/serilog/serilog-expressions#formatting-with-expressiontemplate

Commands

Command Description
ensure-no-outstanding-changes <username> <password> <isln-path> Runs the Software Factory and if there are any outstanding changes it prints out an error and exits with a non-zero return code.

ensure-no-outstanding-changes command

Runs the Software Factory and if there are any outstanding changes it prints out an error and exits with a non-zero return code.

ensure-no-outstanding-changes usage

intent-cli ensure-no-outstanding-changes <username> <password> <isln-path> [options]

ensure-no-outstanding-changes arguments

Argument Description
<username> Username for an active Intent Architect account.
<password> Password for the Intent Architect account.
<isln-path> Path to the Intent Architect solution (.isln) file or folder containing a single .isln file.

ensure-no-outstanding-changes options

Option Description
--application-id <application-id> The Id of the Intent Architect application. If unspecified then all applications found in the .isln will be run.
--attach-debugger The Software Factory will pause at startup giving you chance to attach a .NET debugger.
-?, -h, --help Show help and usage information
--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. Will be automatically configured when the process is detected to be running on the following kinds of build servers:<br />- Azure Pipelines<br /><br />See the documentation on Serilog.Expressions ExpressionTemplate for formatting options: https://github.com/serilog/serilog-expressions#formatting-with-expressiontemplate
--warning-logging-command <warning-logging-command> Command to use for logging a warning. Some continuous integration environments watch output for "commands" for logging of errors. Will be automatically configured when the process is detected to be running on the following kinds of build servers:<br />- Azure Pipelines<br /><br />See the documentation on Serilog.Expressions ExpressionTemplate for formatting options: https://github.com/serilog/serilog-expressions#formatting-with-expressiontemplate

Example: Azure Pipelines

[!TIP] Install the Intent.ContinuousIntegration.AzurePipelines module into your Intent Architect application to have it automatically generate an azure-pipelines.yml file for you, refer its readme for more information.

Create a variable group with the Intent Architect account details

Create a variable group with the Intent Architect account details, for example:

Variable group with Intent Architect account details

Variable groups are defined globally for an Azure DevOps project, to be able to access a variable group for a particular pipeline, it needs to be linked to it.

Add the variable group and other variables to the pipeline YAML file

To make the variable group available to a stage within your pipeline, it will need to be added to its variables. You may also want to define variables for the other command line arguments and options:

variables:
- group: 'Intent Architect Credentials'
- name: 'intentSolutionPath'
  value: 'intent'

Create a step to install the CLI

- task: PowerShell@2
  displayName: 'Install Intent Architect Software Factory CLI'
  inputs:
    targetType: 'inline'
    pwsh: true
    script: 'dotnet tool install Intent.SoftwareFactory.CLI --global'

Create a step to run the CLI

- task: PowerShell@2
  displayName: 'run intent cli'
  env:
    INTENT_USER: $(intent-architect-user)
    INTENT_PASS: $(intent-architect-password)
    INTENT_SOLUTION_PATH: $(intentSolutionPath)
  inputs:
    targetType: 'inline'
    pwsh: true
    script: |
      intent-cli ensure-no-outstanding-changes "$Env:INTENT_USER" "$Env:INTENT_PASS" "$Env:INTENT_SOLUTION_PATH"

A complete YAML file

trigger:
  batch: 'true'
  branches:
    include:
    - '*'

pool:
  vmImage: 'ubuntu-latest'

variables:
- group: 'Intent Architect Credentials'
- name: 'intentSolutionPath'
  value: 'intent'

steps:

- task: PowerShell@2
  displayName: 'Install Intent Architect Software Factory CLI'
  inputs:
    targetType: 'inline'
    pwsh: true
    script: 'dotnet tool install Intent.SoftwareFactory.CLI --global'

- task: PowerShell@2
  displayName: 'run intent cli'
  env:
    INTENT_USER: $(intent-architect-user)
    INTENT_PASS: $(intent-architect-password)
    INTENT_SOLUTION_PATH: $(intentSolutionPath)
  inputs:
    targetType: 'inline'
    pwsh: true
    script: |
      intent-cli ensure-no-outstanding-changes "$Env:INTENT_USER" "$Env:INTENT_PASS" "$Env:INTENT_SOLUTION_PATH"

Run the pipeline

When you run the pipeline, it should now install the CLI and run it.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
4.3.999-nightly.2024-06-25-... 31 6/25/2024
4.3.999-nightly.2024-06-24-... 35 6/24/2024
4.3.999-nightly.2024-06-23-... 38 6/23/2024
4.3.999-nightly.2024-06-22-... 34 6/22/2024
4.3.999-nightly.2024-06-21-... 45 6/21/2024
4.3.999-nightly.2024-06-19-... 40 6/19/2024
4.3.999-nightly.2024-06-18-... 26 6/18/2024
4.3.999-nightly.2024-06-17-... 37 6/17/2024
4.3.999-nightly.2024-06-16-... 37 6/16/2024
4.3.999-nightly.2024-06-15-... 35 6/15/2024
4.3.999-nightly.2024-06-14-... 28 6/14/2024
4.3.999-nightly.2024-06-13-... 30 6/13/2024
4.3.999-nightly.2024-06-13-... 30 6/13/2024
4.3.999-nightly.2024-06-12-... 28 6/12/2024
4.3.999-nightly.2024-06-03-... 35 6/3/2024
4.3.999-nightly.2024-06-02-... 41 6/2/2024
4.3.999-nightly.2024-05-30-... 39 5/30/2024
4.3.999-nightly.2024-05-25-... 45 5/25/2024
4.3.999-nightly.2024-05-24-... 46 5/24/2024
4.3.999-nightly.2024-05-23-... 43 5/23/2024
4.3.999-nightly.2024-05-22-... 40 5/22/2024
4.3.999-nightly.2024-05-20-... 49 5/20/2024
4.3.999-nightly.2024-05-19-... 38 5/19/2024
4.3.999-nightly.2024-05-14-... 39 5/14/2024
4.3.999-nightly.2024-05-12-... 35 5/12/2024
4.3.999-nightly.2024-05-05-... 55 5/5/2024
4.3.999-nightly.2024-05-02-... 23 5/2/2024
4.3.999-nightly.2024-04-23-... 57 4/23/2024
4.3.999-nightly.2024-04-21-... 44 4/21/2024
4.3.999-nightly.2024-04-20-... 53 4/20/2024
4.3.999-nightly.2024-04-19-... 45 4/19/2024
4.3.999-nightly.2024-04-18-... 41 4/18/2024
4.3.999-nightly.2024-04-12-... 44 4/12/2024
4.3.999-nightly.2024-04-10-... 45 4/10/2024
4.3.999-nightly.2024-04-09-... 54 4/9/2024
4.3.999-nightly.2024-04-06-... 51 4/6/2024
4.3.999-nightly.2024-04-05-... 48 4/5/2024
4.3.999-nightly.2024-04-03-... 48 4/3/2024
4.3.999-nightly.2024-04-02-... 52 4/2/2024
4.3.999-nightly.2024-04-01-... 55 4/1/2024
4.3.999-nightly.2024-03-30-... 49 3/30/2024
4.3.999-nightly.2024-03-29-... 48 3/29/2024
4.3.999-nightly.2024-03-28-... 55 3/28/2024
4.3.0-nightly.2024-03-23-0102 52 3/23/2024
4.3.0-nightly.2024-03-21-0102 55 3/21/2024
4.2.999-nightly.2024-06-27-... 23 6/27/2024
4.2.999-nightly.2024-06-25-... 30 6/25/2024
4.2.999-nightly.2024-06-22-... 32 6/22/2024
4.2.999-nightly.2024-06-20-... 31 6/20/2024
4.2.999-nightly.2024-06-19-... 34 6/19/2024
4.2.999-nightly.2024-06-18-... 27 6/18/2024
4.2.999-nightly.2024-06-14-... 31 6/14/2024
4.2.999-nightly.2024-06-13-... 29 6/13/2024
4.2.999-nightly.2024-06-12-... 28 6/12/2024
4.2.999-nightly.2024-05-28-... 33 5/28/2024
4.2.999-nightly.2024-05-23-... 42 5/23/2024
4.2.999-nightly.2024-05-22-... 38 5/22/2024
4.2.999-nightly.2024-05-21-... 50 5/21/2024
4.2.999-nightly.2024-05-16-... 42 5/16/2024
4.2.999-nightly.2024-05-15-... 40 5/15/2024
4.2.999-nightly.2024-05-14-... 40 5/14/2024
4.2.999-nightly.2024-05-13-... 37 5/13/2024
4.2.999-nightly.2024-05-12-... 33 5/12/2024
4.2.999-nightly.2024-05-09-... 47 5/9/2024
4.2.999-nightly.2024-05-08-... 46 5/8/2024
4.2.999-nightly.2024-05-07-... 54 5/7/2024
4.2.999-nightly.2024-05-03-... 11 5/3/2024
4.2.999-nightly.2024-05-02-... 27 5/2/2024
4.2.999-nightly.2024-04-30-... 43 4/30/2024
4.2.999-nightly.2024-04-26-... 37 4/26/2024
4.2.999-nightly.2024-04-25-... 46 4/25/2024
4.2.999-nightly.2024-04-23-... 47 4/23/2024
4.2.999-nightly.2024-04-20-... 45 4/20/2024
4.2.999-nightly.2024-04-18-... 41 4/18/2024
4.2.999-nightly.2024-04-16-... 49 4/16/2024
4.2.999-nightly.2024-04-13-... 48 4/13/2024
4.2.999-nightly.2024-04-12-... 47 4/12/2024
4.2.999-nightly.2024-04-10-... 40 4/10/2024
4.2.999-nightly.2024-04-09-... 51 4/9/2024
4.2.999-nightly.2024-04-06-... 54 4/6/2024
4.2.999-nightly.2024-04-05-... 60 4/5/2024
4.2.999-nightly.2024-04-03-... 53 4/3/2024
4.2.999-nightly.2024-04-02-... 50 4/2/2024
4.2.999-nightly.2024-03-31-... 51 3/31/2024
4.2.999-nightly.2024-03-30-... 47 3/30/2024
4.2.999-nightly.2024-03-29-... 48 3/29/2024
4.2.999-nightly.2024-03-27-... 48 3/27/2024
4.2.0-nightly.202401090430 115 1/9/2024
4.2.0-nightly.202401060302 131 1/6/2024
4.2.0-nightly.202401050829 76 1/5/2024
4.2.0-nightly.202401050302 62 1/5/2024
4.2.0-nightly.2024-03-26-0102 51 3/26/2024
4.2.0-nightly.2024-03-25-0101 57 3/25/2024
4.2.0-nightly.2024-03-24-0101 59 3/24/2024
4.2.0-nightly.2024-03-21-0102 54 3/21/2024
4.2.0-nightly.2024-03-20-0102 50 3/20/2024
4.2.0-nightly.2024-03-19-0102 53 3/19/2024
4.2.0-nightly.2024-03-18-0102 51 3/18/2024
4.2.0-nightly.2024-03-17-0101 54 3/17/2024
4.2.0-nightly.2024-03-15-0102 53 3/15/2024
4.2.0-nightly.2024-03-14-0102 53 3/14/2024
4.2.0-nightly.2024-03-13-0102 49 3/13/2024
4.2.0-nightly.2024-03-12-0102 53 3/12/2024
4.2.0-nightly.2024-03-10-0101 53 3/10/2024
4.2.0-nightly.2024-03-09-0101 50 3/9/2024
4.2.0-nightly.2024-03-07-0102 49 3/7/2024
4.2.0-nightly.2024-03-06-0102 60 3/6/2024
4.2.0-nightly.2024-03-05-0102 58 3/5/2024
4.2.0-nightly.2024-03-04-0102 61 3/4/2024
4.2.0-nightly.2024-03-03-0101 69 3/3/2024
4.2.0-nightly.2024-03-02-0101 58 3/2/2024
4.2.0-nightly.2024-03-01-0102 59 3/1/2024
4.2.0-nightly.2024-02-29-0102 60 2/29/2024
4.2.0-nightly.2024-02-28-0102 50 2/28/2024
4.2.0-nightly.2024-02-27-0102 58 2/27/2024
4.2.0-nightly.2024-02-26-0102 54 2/26/2024
4.2.0-nightly.2024-02-25-0101 52 2/25/2024
4.2.0-nightly.2024-02-24-0101 56 2/24/2024
4.2.0-nightly.2024-02-22-0102 56 2/22/2024
4.2.0-nightly.2024-02-21-0102 56 2/21/2024
4.2.0-nightly.2024-02-19-0102 53 2/19/2024
4.2.0-nightly.2024-02-17-0101 52 2/17/2024
4.2.0-nightly.2024-02-16-0102 52 2/16/2024
4.2.0-nightly.2024-02-15-0102 61 2/15/2024
4.2.0-nightly.2024-02-14-0102 60 2/14/2024
4.2.0-nightly.2024-02-13-0102 60 2/13/2024
4.2.0-nightly.2024-02-12-0102 57 2/12/2024
4.2.0-nightly.2024-02-10-0101 57 2/10/2024
4.2.0-nightly.2024-02-09-0102 58 2/9/2024
4.2.0-nightly.2024-02-08-0102 57 2/8/2024
4.2.0-nightly.2024-02-07-0102 59 2/7/2024
4.2.0-nightly.2024-02-06-0102 58 2/6/2024
4.2.0-nightly.2024-02-05-0101 58 2/5/2024
4.2.0-nightly.2024-02-03-0101 58 2/3/2024
4.2.0-nightly.2024-02-02-0102 57 2/2/2024
4.2.0-nightly.2024-02-01-0102 56 2/1/2024
4.2.0-nightly.2024-01-31-0639 55 1/31/2024
4.2.0-nightly.2024-01-30-0102 54 1/30/2024
4.2.0-nightly.2024-01-27-0102 60 1/27/2024
4.2.0-nightly.2024-01-26-0632 57 1/26/2024
4.2.0-nightly.2024-01-25-0102 59 1/25/2024
4.2.0-nightly.2024-01-24-0855 55 1/24/2024
4.2.0-nightly.2024-01-24-0102 56 1/24/2024
4.2.0-nightly.2024-01-23-0102 54 1/23/2024
4.2.0-nightly.2024-01-22-1314 60 1/22/2024
4.2.0-nightly.2024-01-22-0125 61 1/22/2024
4.2.0-nightly.2024-01-18-0102 60 1/18/2024
4.2.0-nightly.2024-01-16-0102 58 1/16/2024
4.2.0-nightly.2024-01-15-0837 61 1/15/2024
4.2.0-nightly.2024-01-15-0102 69 1/15/2024
4.2.0-nightly.2024-01-13-0101 60 1/13/2024
4.2.0-nightly.2024-01-12-0102 70 1/12/2024
4.2.0-nightly.2024-01-11-0838 77 1/11/2024
4.2.0-nightly.2024-01-11-0102 76 1/11/2024
4.2.0-nightly.2024-01-10-0102 78 1/10/2024
4.1.0-nightly.202405240302 44 5/24/2024
4.1.0-nightly.202404230302 46 4/23/2024
4.1.0-nightly.202403230301 55 3/23/2024
4.1.0-nightly.202402210302 70 2/21/2024
4.1.0-nightly.202402200302 54 2/20/2024
4.1.0-nightly.202402190302 57 2/19/2024
4.1.0-nightly.202402150302 62 2/15/2024
4.1.0-nightly.202402140302 60 2/14/2024
4.1.0-nightly.202402130302 74 2/13/2024
4.1.0-nightly.202402120302 58 2/12/2024
4.1.0-nightly.202402100302 62 2/10/2024
4.1.0-nightly.202402060302 69 2/6/2024
4.1.0-nightly.202401300302 63 1/30/2024
4.1.0-nightly.202401290302 69 1/29/2024
4.1.0-nightly.202401240302 63 1/24/2024
4.1.0-nightly.202401230302 60 1/23/2024
4.1.0-nightly.202401220302 69 1/22/2024
4.1.0-nightly.202401210301 62 1/21/2024
4.1.0-nightly.202401200301 59 1/20/2024
4.1.0-nightly.202401170302 72 1/17/2024
4.1.0-nightly.202401160302 70 1/16/2024
4.1.0-nightly.202401150301 71 1/15/2024
4.1.0-nightly.202401140301 76 1/14/2024
4.1.0-nightly.202401130302 62 1/13/2024
4.1.0-nightly.202401120302 76 1/12/2024
4.1.0-nightly.202401110302 70 1/11/2024
4.1.0-nightly.202401100302 87 1/10/2024
4.1.0-nightly.202401090301 70 1/9/2024
4.1.0-nightly.202401070607 87 1/7/2024
4.1.0-nightly.202401060301 80 1/6/2024
4.1.0-nightly.202401050302 65 1/5/2024
4.1.0-nightly.202401040302 74 1/4/2024
4.1.0-nightly.202401030302 82 1/3/2024
4.1.0-nightly.202401010301 93 1/1/2024
4.1.0-nightly.202312300301 95 12/30/2023
4.1.0-nightly.202312291139 73 12/29/2023
4.1.0-nightly.202312290301 61 12/29/2023
4.1.0-nightly.202312280302 54 12/28/2023
4.1.0-nightly.202312250302 63 12/25/2023
4.1.0-nightly.202312230301 54 12/23/2023
4.1.0-nightly.202312210302 45 12/21/2023
4.1.0-nightly.202312200302 47 12/20/2023
4.1.0-nightly.202312150302 61 12/15/2023
4.1.0-nightly.202312141220 53 12/14/2023
4.1.0-nightly.202312141135 47 12/14/2023
4.1.0-nightly.202312140703 51 12/14/2023
4.1.0-nightly.202312140302 57 12/14/2023
4.1.0-nightly.202312131634 50 12/13/2023
4.1.0-nightly.202312130302 46 12/13/2023
4.1.0-nightly.202312110301 55 12/11/2023
4.1.0-nightly.202312100301 55 12/10/2023
4.1.0-nightly.202312090301 54 12/9/2023
4.1.0-nightly.202312080302 57 12/8/2023