Intent.SoftwareFactory.CLI 4.1.0-alpha.24

This is a prerelease version of Intent.SoftwareFactory.CLI.
This package has a SemVer 2.0.0 package version: 4.1.0-alpha.24+225fdabd7db71c24beafea41b8246e23ec0491c0.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Intent.SoftwareFactory.CLI --version 4.1.0-alpha.24                
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 --version 4.1.0-alpha.24                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Intent.SoftwareFactory.CLI&version=4.1.0-alpha.24&prerelease                
nuke :add-package Intent.SoftwareFactory.CLI --version 4.1.0-alpha.24                

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 net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.8 0 11/25/2024
4.3.8-pre.0 56 11/22/2024
4.3.7 198 11/19/2024
4.3.7-pre.0 56 11/18/2024
4.3.6 162 11/14/2024
4.3.6-pre.2 49 11/13/2024
4.3.6-pre.1 103 11/7/2024
4.3.6-pre.0 32 11/7/2024
4.3.5 202 11/7/2024
4.3.5-pre.2 104 11/1/2024
4.3.5-pre.1 96 10/28/2024
4.3.5-pre.0 123 10/22/2024
4.3.4 223 10/21/2024
4.3.4-pre.4 50 10/21/2024
4.3.4-pre.2 103 10/14/2024
4.3.4-pre.1 52 10/14/2024
4.3.4-pre.0 68 10/13/2024
4.3.3 175 10/11/2024
4.3.3-pre.2 62 10/11/2024
4.3.3-pre.1 47 10/10/2024
4.3.3-pre.0 44 10/10/2024
4.3.2 123 10/10/2024
4.3.2-pre.0 72 10/9/2024
4.3.1 254 10/2/2024
4.3.1-pre.1 46 10/2/2024
4.3.1-pre.0 56 10/1/2024
4.3.0 151 9/29/2024
4.3.0-beta.10 133 9/23/2024
4.3.0-beta.8 222 9/14/2024
4.3.0-beta.6 76 9/12/2024
4.3.0-beta.0 500 8/6/2024
4.2.10-alpha.0 67 8/21/2024
4.2.9 717 7/15/2024
4.2.9-pre.1 82 7/10/2024
4.2.9-pre.0 120 7/2/2024
4.2.8 270 6/30/2024
4.2.8-pre.1 119 6/24/2024
4.2.8-pre.0 90 6/21/2024
4.2.7 190 6/19/2024
4.2.7-pre.0 91 6/13/2024
4.2.6 372 5/22/2024
4.2.6-pre.0 82 5/21/2024
4.2.5 138 5/21/2024
4.2.5-pre.8 81 5/20/2024
4.2.5-pre.7 53 5/20/2024
4.2.5-pre.6 60 5/20/2024
4.2.5-pre.5 84 5/14/2024
4.2.5-pre.4 78 5/13/2024
4.2.5-pre.3 61 5/11/2024
4.2.5-pre.2 100 5/7/2024
4.2.5-pre.1 61 5/2/2024
4.2.5-pre.0 92 4/29/2024
4.2.4 468 4/12/2024
4.2.4-pre.1 111 4/7/2024
4.2.4-pre.0 66 4/5/2024
4.2.4-beta.6 50 4/5/2024
4.2.4-beta.5 81 4/4/2024
4.2.4-beta.4 105 4/2/2024
4.2.4-beta.3 65 4/2/2024
4.2.4-beta.2 85 4/1/2024
4.2.4-beta.1 78 3/27/2024
4.2.4-beta.0 113 3/26/2024
4.2.3 273 3/25/2024
4.2.3-pre.0 170 3/19/2024
4.2.2 264 3/12/2024
4.2.2-pre.0 68 3/11/2024
4.2.1 163 3/11/2024
4.2.1-pre.0 69 3/11/2024
4.2.0 170 3/10/2024
4.2.0-beta.8 71 3/8/2024
4.2.0-beta.7 66 3/8/2024
4.2.0-beta.6 131 3/5/2024
4.2.0-beta.5 75 3/5/2024
4.2.0-beta.4 99 2/29/2024
4.2.0-beta.3 359 2/14/2024
4.2.0-beta.2 62 2/14/2024
4.2.0-beta.1 81 2/14/2024
4.2.0-beta.0 152 2/9/2024
4.1.5 495 1/23/2024
4.1.5-pre.2 80 1/22/2024
4.1.5-pre.1 76 1/21/2024
4.1.5-pre.0 68 1/20/2024
4.1.4 339 1/17/2024
4.1.4-pre.0 83 1/16/2024
4.1.3 316 1/14/2024
4.1.3-pre.4 74 1/13/2024
4.1.3-pre.3 71 1/13/2024
4.1.3-pre.2 96 1/12/2024
4.1.3-pre.1 137 1/10/2024
4.1.3-pre.0 68 1/10/2024
4.1.2 373 1/8/2024
4.1.2-pre.6 119 1/6/2024
4.1.2-pre.5 88 1/5/2024
4.1.2-pre.4 90 1/5/2024
4.1.2-pre.3 101 1/3/2024
4.1.2-pre.2 89 1/2/2024
4.1.2-pre.1 108 12/31/2023
4.1.2-pre.0 87 12/28/2023
4.1.1 150 12/22/2023
4.1.1-pre.2 52 12/22/2023
4.1.1-pre.1 72 12/22/2023
4.1.1-pre.0 52 12/22/2023
4.1.0 115 12/20/2023
4.1.0-beta.21 276 12/10/2023
4.1.0-beta.20 182 12/6/2023
4.1.0-beta.19 56 12/5/2023
4.1.0-beta.18 86 12/4/2023
4.1.0-beta.17 78 12/2/2023
4.1.0-beta.16 94 11/30/2023
4.1.0-beta.15 62 11/29/2023
4.1.0-beta.14 87 11/28/2023
4.1.0-beta.12 124 11/24/2023
4.1.0-beta.11 130 11/22/2023
4.1.0-beta.10 109 11/19/2023
4.1.0-beta.9 119 11/15/2023
4.1.0-beta.8 152 11/7/2023
4.1.0-beta.7 103 11/6/2023
4.1.0-beta.6 68 11/3/2023
4.1.0-beta.5 74 11/3/2023
4.1.0-beta.4 86 11/2/2023
4.1.0-beta.3 83 11/2/2023
4.1.0-beta.2 166 10/29/2023
4.1.0-beta.1 64 10/28/2023
4.1.0-beta.0 135 10/25/2023
4.1.0-alpha.202312081616 58 12/8/2023
4.1.0-alpha.202312062101 54 12/7/2023
4.1.0-alpha.32 94 10/25/2023
4.1.0-alpha.31 65 10/24/2023
4.1.0-alpha.30 98 10/24/2023
4.1.0-alpha.29 62 10/23/2023
4.1.0-alpha.28 109 10/22/2023
4.1.0-alpha.27 121 10/17/2023
4.1.0-alpha.26 117 10/14/2023
4.1.0-alpha.25 89 10/12/2023
4.1.0-alpha.24 125 10/9/2023
4.1.0-alpha.23 83 10/8/2023
4.1.0-alpha.21 181 10/1/2023
4.1.0-alpha.20 77 9/30/2023
4.1.0-alpha.19 80 9/29/2023
4.1.0-alpha.17 106 9/28/2023
4.1.0-alpha.16 145 9/25/2023
4.1.0-alpha.15 84 9/24/2023
4.1.0-alpha.14 76 9/24/2023
4.1.0-alpha.13 82 9/23/2023
4.1.0-alpha.12 131 9/19/2023
4.1.0-alpha.11 97 9/19/2023
4.1.0-alpha.10 79 9/19/2023
4.1.0-alpha.9 97 9/17/2023
4.1.0-alpha.8 74 9/16/2023
4.1.0-alpha.6 166 9/9/2023
4.1.0-alpha.5 76 9/8/2023
4.1.0-alpha.4 129 9/5/2023
4.1.0-alpha.3 84 9/2/2023
4.1.0-alpha.2 100 8/26/2023
4.1.0-alpha.1 74 8/25/2023
4.1.0-alpha.0 79 8/24/2023
4.0.6 1,253 10/2/2023
4.0.5 101 9/28/2023
4.0.5-pre.3 71 9/19/2023
4.0.5-pre.2 67 9/18/2023
4.0.5-pre.1 196 9/15/2023
4.0.5-pre.0 75 9/15/2023
4.0.4 250 9/13/2023
4.0.4-pre.1 85 9/7/2023
4.0.4-pre.0 86 8/29/2023
4.0.4-alpha.2 209 8/21/2023
4.0.4-alpha.0 133 8/10/2023
4.0.3 964 8/3/2023
4.0.3-pre.7 124 7/27/2023
4.0.3-pre.6 93 7/26/2023
4.0.3-pre.5 100 7/24/2023
4.0.3-pre.4 106 7/23/2023
4.0.3-pre.3 96 7/23/2023
4.0.3-pre.2 89 7/22/2023
4.0.3-pre.1 113 7/19/2023
4.0.3-pre.0 117 7/17/2023
4.0.2 417 7/17/2023
4.0.2-pre.8 94 7/17/2023
4.0.2-pre.7 91 7/17/2023
4.0.2-pre.6 88 7/16/2023
4.0.2-pre.5 100 7/15/2023
4.0.2-pre.4 91 7/14/2023
4.0.2-pre.3 94 7/11/2023
4.0.2-pre.2 124 7/7/2023
4.0.2-pre.1 128 7/3/2023
4.0.1 1,040 6/9/2023
4.0.1-pre.14 89 6/8/2023
4.0.1-pre.13 92 6/6/2023
4.0.1-pre.12 81 6/5/2023
4.0.1-pre.11 95 6/1/2023
4.0.1-pre.10 83 5/31/2023
4.0.1-pre.9 82 5/30/2023
4.0.1-pre.8 96 5/26/2023
4.0.1-pre.7 92 5/25/2023
4.0.1-pre.6 83 5/25/2023
4.0.1-pre.5 108 5/20/2023
4.0.1-pre.4 85 5/19/2023
4.0.1-pre.3 89 5/17/2023
4.0.1-pre.2 110 5/12/2023
4.0.1-pre.1 119 5/10/2023
4.0.1-pre.0 88 5/10/2023
4.0.0 683 5/7/2023
4.0.0-test.11 135 4/28/2023
4.0.0-test.10 99 4/27/2023
4.0.0-beta.12 90 5/1/2023
4.0.0-beta.11 92 4/28/2023
4.0.0-beta.10 91 4/26/2023
4.0.0-beta.9 152 4/21/2023
4.0.0-beta.8 90 4/18/2023
4.0.0-beta.7 99 4/16/2023
4.0.0-beta.6 96 4/16/2023
4.0.0-beta.5 92 4/14/2023
4.0.0-beta.4 89 4/13/2023
4.0.0-beta.3 96 4/13/2023
4.0.0-beta.2 97 4/12/2023
4.0.0-beta.1 95 4/11/2023
4.0.0-beta.0 98 4/6/2023
4.0.0-alpha.18 91 4/5/2023
4.0.0-alpha.17 93 4/5/2023
4.0.0-alpha.15 93 4/5/2023
4.0.0-alpha.14 93 4/5/2023
4.0.0-alpha.13 99 4/4/2023
4.0.0-alpha.12 96 4/2/2023
4.0.0-alpha.11 97 4/1/2023
4.0.0-alpha.10 97 3/31/2023
4.0.0-alpha.9 106 3/27/2023
4.0.0-alpha.8 102 3/24/2023
4.0.0-alpha.7 107 3/22/2023
4.0.0-alpha.6 102 3/22/2023
4.0.0-alpha.5 97 3/19/2023
4.0.0-alpha.4 99 3/16/2023
4.0.0-alpha.3 97 3/14/2023
4.0.0-alpha.2 99 3/13/2023
4.0.0-alpha.1 89 3/12/2023
4.0.0-alpha.0 99 3/12/2023
3.4.5 507 4/14/2023
3.4.4 179 4/13/2023
3.4.3 158 4/11/2023
3.4.3-pre.2 99 4/3/2023
3.4.3-pre.1 105 3/23/2023
3.4.3-pre.0 102 3/14/2023
3.4.2 581 3/14/2023
3.4.2-pre.5 101 3/13/2023
3.4.2-pre.4 150 3/2/2023
3.4.2-pre.3 157 2/22/2023
3.4.2-pre.2 118 2/22/2023
3.4.2-pre.1 112 2/21/2023
3.4.2-pre.0 118 2/20/2023
3.4.1 232 2/20/2023
3.4.1-pre.9 118 2/15/2023
3.4.1-pre.8 104 2/15/2023
3.4.1-pre.7 124 2/12/2023
3.4.1-pre.6 105 2/11/2023
3.4.1-pre.5 116 2/10/2023
3.4.1-pre.4 125 2/4/2023
3.4.1-pre.3 154 1/25/2023
3.4.1-pre.2 153 1/18/2023
3.4.1-pre.1 140 1/12/2023
3.4.1-pre.0 119 1/12/2023
3.4.0 136 1/7/2023
3.4.0-pre.16 119 12/29/2022
3.4.0-pre.15 111 12/23/2022
3.4.0-pre.14 112 12/21/2022
3.4.0-pre.13 115 12/21/2022
3.4.0-pre.12 122 12/19/2022
3.4.0-pre.11 145 12/12/2022
3.4.0-pre.10 129 12/8/2022
3.4.0-pre.9 146 12/2/2022
3.4.0-pre.8 125 12/1/2022
3.4.0-pre.7 129 11/29/2022
3.4.0-pre.6 125 11/27/2022
3.4.0-pre.5 113 11/26/2022
3.4.0-pre.4 118 11/24/2022
3.4.0-pre.3 116 11/23/2022
3.4.0-pre.2 140 11/21/2022
3.4.0-pre.1 119 11/20/2022
3.4.0-pre.0 121 11/18/2022
3.3.20-pre.3 145 11/9/2022
3.3.20-pre.2 122 11/8/2022
3.3.20-pre.1 140 11/4/2022
3.3.20-pre.0 148 10/31/2022
3.3.19 163 10/21/2022
3.3.19-pre.2 148 10/20/2022
3.3.19-pre.1 135 10/17/2022
3.3.19-pre.0 124 10/14/2022
3.3.18 154 10/10/2022
3.3.18-pre.8 130 10/7/2022
3.3.18-pre.7 146 10/2/2022
3.3.18-pre.6 129 9/29/2022
3.3.18-pre.5 127 9/29/2022
3.3.18-pre.4 125 9/29/2022
3.3.18-pre.3 122 9/29/2022
3.3.18-pre.2 121 9/28/2022
3.3.18-pre.1 123 9/28/2022
3.3.17 170 9/26/2022
3.3.16 132 9/24/2022
3.3.16-pre.5 123 9/22/2022
3.3.16-pre.4 129 9/20/2022
3.3.16-pre.3 125 9/19/2022
3.3.16-pre.2 131 9/15/2022
3.3.16-pre.1 132 9/15/2022
3.3.16-pre.0 130 9/14/2022
3.3.15 193 9/11/2022
3.3.14 141 9/9/2022
3.3.14-test.0 137 9/6/2022
3.3.14-pre.1 136 9/7/2022
3.3.14-pre.0 142 8/26/2022
3.3.13 247 8/24/2022
3.3.13-pre.3 159 8/21/2022
3.3.13-pre.2 152 8/20/2022
3.3.13-pre.1 150 8/19/2022
3.3.13-pre.0 148 8/18/2022
3.3.12 175 8/15/2022
3.3.12-pre.5 152 8/14/2022
3.3.12-pre.4 157 8/14/2022
3.3.12-pre.3 161 8/12/2022
3.3.12-pre.2 163 8/9/2022
3.3.12-pre.1 152 8/9/2022
3.3.12-pre.0 156 8/9/2022
3.3.11 236 8/1/2022
3.3.10 171 7/31/2022
3.3.10-pre.6 165 7/31/2022
3.3.10-pre.5 157 7/27/2022
3.3.10-pre.4 151 7/25/2022
3.3.10-pre.3 159 7/24/2022
3.3.10-pre.2 159 7/19/2022
3.3.10-pre.1 160 7/18/2022
3.3.10-pre.0 174 7/12/2022
3.3.9 191 6/30/2022
3.3.8 198 6/15/2022
3.3.8-pre.3 162 6/15/2022
3.3.8-pre.2 175 6/8/2022
3.3.8-pre.1 168 6/6/2022
3.3.7 207 5/24/2022
3.3.6 183 5/24/2022
3.3.5 183 5/22/2022
3.3.4 192 5/16/2022
3.3.4-pre.1 174 5/12/2022
3.3.4-pre.0 180 5/11/2022
3.3.3 232 5/6/2022
3.3.3-cli-test.16 183 5/5/2022
3.3.3-cli-test.12 182 5/5/2022
3.3.3-cli-test.9 182 5/4/2022