Intent.SoftwareFactory.CLI 4.1.0-beta.12

This is a prerelease version of Intent.SoftwareFactory.CLI.
This package has a SemVer 2.0.0 package version: 4.1.0-beta.12+a739d762799b3abfcb131476fa7095a05a0bb7d6.
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-beta.12                
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-beta.12                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Intent.SoftwareFactory.CLI&version=4.1.0-beta.12&prerelease                
nuke :add-package Intent.SoftwareFactory.CLI --version 4.1.0-beta.12                

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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.4.0-beta.2 0 1/13/2025
4.4.0-alpha.0 195 12/13/2024
4.3.9 245 12/15/2024
4.3.9-pre.0 104 12/10/2024
4.3.9-beta.0 224 11/26/2024
4.3.8 320 11/25/2024
4.3.8-pre.0 71 11/22/2024
4.3.7 215 11/19/2024
4.3.7-pre.0 66 11/18/2024
4.3.6 177 11/14/2024
4.3.6-pre.2 64 11/13/2024
4.3.6-pre.1 114 11/7/2024
4.3.6-pre.0 41 11/7/2024
4.3.5 387 11/7/2024
4.3.5-pre.2 115 11/1/2024
4.3.5-pre.1 105 10/28/2024
4.3.5-pre.0 131 10/22/2024
4.3.4 235 10/21/2024
4.3.4-pre.4 60 10/21/2024
4.3.4-pre.2 109 10/14/2024
4.3.4-pre.1 58 10/14/2024
4.3.4-pre.0 71 10/13/2024
4.3.3 184 10/11/2024
4.3.3-pre.2 65 10/11/2024
4.3.3-pre.1 50 10/10/2024
4.3.3-pre.0 51 10/10/2024
4.3.2 135 10/10/2024
4.3.2-pre.0 79 10/9/2024
4.3.1 263 10/2/2024
4.3.1-pre.1 49 10/2/2024
4.3.1-pre.0 59 10/1/2024
4.3.0 162 9/29/2024
4.3.0-beta.10 140 9/23/2024
4.3.0-beta.8 229 9/14/2024
4.3.0-beta.6 81 9/12/2024
4.3.0-beta.0 505 8/6/2024
4.2.10-alpha.0 72 8/21/2024
4.2.9 726 7/15/2024
4.2.9-pre.1 87 7/10/2024
4.2.9-pre.0 125 7/2/2024
4.2.8 277 6/30/2024
4.2.8-pre.1 122 6/24/2024
4.2.8-pre.0 96 6/21/2024
4.2.7 199 6/19/2024
4.2.7-pre.0 96 6/13/2024
4.2.6 379 5/22/2024
4.2.6-pre.0 87 5/21/2024
4.2.5 144 5/21/2024
4.2.5-pre.8 86 5/20/2024
4.2.5-pre.7 58 5/20/2024
4.2.5-pre.6 65 5/20/2024
4.2.5-pre.5 91 5/14/2024
4.2.5-pre.4 81 5/13/2024
4.2.5-pre.3 68 5/11/2024
4.2.5-pre.2 107 5/7/2024
4.2.5-pre.1 64 5/2/2024
4.2.5-pre.0 95 4/29/2024
4.2.4 473 4/12/2024
4.2.4-pre.1 116 4/7/2024
4.2.4-pre.0 71 4/5/2024
4.2.4-beta.6 57 4/5/2024
4.2.4-beta.5 88 4/4/2024
4.2.4-beta.4 108 4/2/2024
4.2.4-beta.3 68 4/2/2024
4.2.4-beta.2 90 4/1/2024
4.2.4-beta.1 81 3/27/2024
4.2.4-beta.0 116 3/26/2024
4.2.3 278 3/25/2024
4.2.3-pre.0 175 3/19/2024
4.2.2 269 3/12/2024
4.2.2-pre.0 71 3/11/2024
4.2.1 168 3/11/2024
4.2.1-pre.0 72 3/11/2024
4.2.0 175 3/10/2024
4.2.0-beta.8 74 3/8/2024
4.2.0-beta.7 69 3/8/2024
4.2.0-beta.6 134 3/5/2024
4.2.0-beta.5 78 3/5/2024
4.2.0-beta.4 102 2/29/2024
4.2.0-beta.3 366 2/14/2024
4.2.0-beta.2 71 2/14/2024
4.2.0-beta.1 88 2/14/2024
4.2.0-beta.0 159 2/9/2024
4.1.5 500 1/23/2024
4.1.5-pre.2 85 1/22/2024
4.1.5-pre.1 82 1/21/2024
4.1.5-pre.0 71 1/20/2024
4.1.4 344 1/17/2024
4.1.4-pre.0 86 1/16/2024
4.1.3 321 1/14/2024
4.1.3-pre.4 77 1/13/2024
4.1.3-pre.3 74 1/13/2024
4.1.3-pre.2 101 1/12/2024
4.1.3-pre.1 140 1/10/2024
4.1.3-pre.0 71 1/10/2024
4.1.2 379 1/8/2024
4.1.2-pre.6 122 1/6/2024
4.1.2-pre.5 91 1/5/2024
4.1.2-pre.4 93 1/5/2024
4.1.2-pre.3 104 1/3/2024
4.1.2-pre.2 92 1/2/2024
4.1.2-pre.1 113 12/31/2023
4.1.2-pre.0 92 12/28/2023
4.1.1 155 12/22/2023
4.1.1-pre.2 55 12/22/2023
4.1.1-pre.1 75 12/22/2023
4.1.1-pre.0 55 12/22/2023
4.1.0 120 12/20/2023
4.1.0-beta.21 279 12/10/2023
4.1.0-beta.20 185 12/6/2023
4.1.0-beta.19 66 12/5/2023
4.1.0-beta.18 91 12/4/2023
4.1.0-beta.17 81 12/2/2023
4.1.0-beta.16 99 11/30/2023
4.1.0-beta.15 65 11/29/2023
4.1.0-beta.14 92 11/28/2023
4.1.0-beta.12 129 11/24/2023
4.1.0-beta.11 133 11/22/2023
4.1.0-beta.10 115 11/19/2023
4.1.0-beta.9 123 11/15/2023
4.1.0-beta.8 158 11/7/2023
4.1.0-beta.7 109 11/6/2023
4.1.0-beta.6 74 11/3/2023
4.1.0-beta.5 83 11/3/2023
4.1.0-beta.4 92 11/2/2023
4.1.0-beta.3 89 11/2/2023
4.1.0-beta.2 172 10/29/2023
4.1.0-beta.1 72 10/28/2023
4.1.0-beta.0 141 10/25/2023
4.1.0-alpha.202312081616 61 12/8/2023
4.1.0-alpha.202312062101 57 12/7/2023
4.1.0-alpha.32 98 10/25/2023
4.1.0-alpha.31 71 10/24/2023
4.1.0-alpha.30 104 10/24/2023
4.1.0-alpha.29 68 10/23/2023
4.1.0-alpha.28 113 10/22/2023
4.1.0-alpha.27 133 10/17/2023
4.1.0-alpha.26 121 10/14/2023
4.1.0-alpha.25 93 10/12/2023
4.1.0-alpha.24 131 10/9/2023
4.1.0-alpha.23 89 10/8/2023
4.1.0-alpha.21 187 10/1/2023
4.1.0-alpha.20 83 9/30/2023
4.1.0-alpha.19 86 9/29/2023
4.1.0-alpha.17 112 9/28/2023
4.1.0-alpha.16 149 9/25/2023
4.1.0-alpha.15 92 9/24/2023
4.1.0-alpha.14 82 9/24/2023
4.1.0-alpha.13 90 9/23/2023
4.1.0-alpha.12 137 9/19/2023
4.1.0-alpha.11 103 9/19/2023
4.1.0-alpha.10 85 9/19/2023
4.1.0-alpha.9 103 9/17/2023
4.1.0-alpha.8 80 9/16/2023
4.1.0-alpha.6 172 9/9/2023
4.1.0-alpha.5 82 9/8/2023
4.1.0-alpha.4 135 9/5/2023
4.1.0-alpha.3 90 9/2/2023
4.1.0-alpha.2 106 8/26/2023
4.1.0-alpha.1 78 8/25/2023
4.1.0-alpha.0 85 8/24/2023
4.0.6 1,261 10/2/2023
4.0.5 109 9/28/2023
4.0.5-pre.3 77 9/19/2023
4.0.5-pre.2 73 9/18/2023
4.0.5-pre.1 202 9/15/2023
4.0.5-pre.0 81 9/15/2023
4.0.4 258 9/13/2023
4.0.4-pre.1 91 9/7/2023
4.0.4-pre.0 91 8/29/2023
4.0.4-alpha.2 215 8/21/2023
4.0.4-alpha.0 137 8/10/2023
4.0.3 972 8/3/2023
4.0.3-pre.7 131 7/27/2023
4.0.3-pre.6 98 7/26/2023
4.0.3-pre.5 106 7/24/2023
4.0.3-pre.4 112 7/23/2023
4.0.3-pre.3 102 7/23/2023
4.0.3-pre.2 97 7/22/2023
4.0.3-pre.1 117 7/19/2023
4.0.3-pre.0 121 7/17/2023
4.0.2 425 7/17/2023
4.0.2-pre.8 100 7/17/2023
4.0.2-pre.7 97 7/17/2023
4.0.2-pre.6 94 7/16/2023
4.0.2-pre.5 106 7/15/2023
4.0.2-pre.4 96 7/14/2023
4.0.2-pre.3 100 7/11/2023
4.0.2-pre.2 130 7/7/2023
4.0.2-pre.1 134 7/3/2023
4.0.1 1,046 6/9/2023
4.0.1-pre.14 95 6/8/2023
4.0.1-pre.13 98 6/6/2023
4.0.1-pre.12 87 6/5/2023
4.0.1-pre.11 101 6/1/2023
4.0.1-pre.10 87 5/31/2023
4.0.1-pre.9 88 5/30/2023
4.0.1-pre.8 102 5/26/2023
4.0.1-pre.7 98 5/25/2023
4.0.1-pre.6 89 5/25/2023
4.0.1-pre.5 115 5/20/2023
4.0.1-pre.4 93 5/19/2023
4.0.1-pre.3 96 5/17/2023
4.0.1-pre.2 116 5/12/2023
4.0.1-pre.1 125 5/10/2023
4.0.1-pre.0 94 5/10/2023
4.0.0 691 5/7/2023
4.0.0-test.11 139 4/28/2023
4.0.0-test.10 105 4/27/2023
4.0.0-beta.12 96 5/1/2023
4.0.0-beta.11 98 4/28/2023
4.0.0-beta.10 97 4/26/2023
4.0.0-beta.9 158 4/21/2023
4.0.0-beta.8 96 4/18/2023
4.0.0-beta.7 103 4/16/2023
4.0.0-beta.6 102 4/16/2023
4.0.0-beta.5 98 4/14/2023
4.0.0-beta.4 95 4/13/2023
4.0.0-beta.3 102 4/13/2023
4.0.0-beta.2 103 4/12/2023
4.0.0-beta.1 101 4/11/2023
4.0.0-beta.0 102 4/6/2023
4.0.0-alpha.18 97 4/5/2023
4.0.0-alpha.17 99 4/5/2023
4.0.0-alpha.15 99 4/5/2023
4.0.0-alpha.14 101 4/5/2023
4.0.0-alpha.13 105 4/4/2023
4.0.0-alpha.12 100 4/2/2023
4.0.0-alpha.11 103 4/1/2023
4.0.0-alpha.10 103 3/31/2023
4.0.0-alpha.9 113 3/27/2023
4.0.0-alpha.8 111 3/24/2023
4.0.0-alpha.7 112 3/22/2023
4.0.0-alpha.6 105 3/22/2023
4.0.0-alpha.5 100 3/19/2023
4.0.0-alpha.4 102 3/16/2023
4.0.0-alpha.3 100 3/14/2023
4.0.0-alpha.2 102 3/13/2023
4.0.0-alpha.1 92 3/12/2023
4.0.0-alpha.0 102 3/12/2023
3.4.5 515 4/14/2023
3.4.4 187 4/13/2023
3.4.3 166 4/11/2023
3.4.3-pre.2 103 4/3/2023
3.4.3-pre.1 110 3/23/2023
3.4.3-pre.0 107 3/14/2023
3.4.2 588 3/14/2023
3.4.2-pre.5 106 3/13/2023
3.4.2-pre.4 155 3/2/2023
3.4.2-pre.3 161 2/22/2023
3.4.2-pre.2 122 2/22/2023
3.4.2-pre.1 124 2/21/2023
3.4.2-pre.0 124 2/20/2023
3.4.1 240 2/20/2023
3.4.1-pre.9 124 2/15/2023
3.4.1-pre.8 110 2/15/2023
3.4.1-pre.7 130 2/12/2023
3.4.1-pre.6 111 2/11/2023
3.4.1-pre.5 120 2/10/2023
3.4.1-pre.4 131 2/4/2023
3.4.1-pre.3 158 1/25/2023
3.4.1-pre.2 159 1/18/2023
3.4.1-pre.1 144 1/12/2023
3.4.1-pre.0 125 1/12/2023
3.4.0 142 1/7/2023
3.4.0-pre.16 125 12/29/2022
3.4.0-pre.15 117 12/23/2022
3.4.0-pre.14 118 12/21/2022
3.4.0-pre.13 119 12/21/2022
3.4.0-pre.12 126 12/19/2022
3.4.0-pre.11 151 12/12/2022
3.4.0-pre.10 135 12/8/2022
3.4.0-pre.9 152 12/2/2022
3.4.0-pre.8 131 12/1/2022
3.4.0-pre.7 135 11/29/2022
3.4.0-pre.6 131 11/27/2022
3.4.0-pre.5 119 11/26/2022
3.4.0-pre.4 124 11/24/2022
3.4.0-pre.3 122 11/23/2022
3.4.0-pre.2 146 11/21/2022
3.4.0-pre.1 123 11/20/2022
3.4.0-pre.0 127 11/18/2022
3.3.20-pre.3 149 11/9/2022
3.3.20-pre.2 128 11/8/2022
3.3.20-pre.1 146 11/4/2022
3.3.20-pre.0 154 10/31/2022
3.3.19 171 10/21/2022
3.3.19-pre.2 156 10/20/2022
3.3.19-pre.1 139 10/17/2022
3.3.19-pre.0 132 10/14/2022
3.3.18 162 10/10/2022
3.3.18-pre.8 136 10/7/2022
3.3.18-pre.7 150 10/2/2022
3.3.18-pre.6 135 9/29/2022
3.3.18-pre.5 133 9/29/2022
3.3.18-pre.4 131 9/29/2022
3.3.18-pre.3 127 9/29/2022
3.3.18-pre.2 127 9/28/2022
3.3.18-pre.1 129 9/28/2022
3.3.17 180 9/26/2022
3.3.16 140 9/24/2022
3.3.16-pre.5 127 9/22/2022
3.3.16-pre.4 133 9/20/2022
3.3.16-pre.3 129 9/19/2022
3.3.16-pre.2 135 9/15/2022
3.3.16-pre.1 136 9/15/2022
3.3.16-pre.0 134 9/14/2022
3.3.15 201 9/11/2022
3.3.14 149 9/9/2022
3.3.14-test.0 143 9/6/2022
3.3.14-pre.1 140 9/7/2022
3.3.14-pre.0 146 8/26/2022
3.3.13 255 8/24/2022
3.3.13-pre.3 163 8/21/2022
3.3.13-pre.2 160 8/20/2022
3.3.13-pre.1 154 8/19/2022
3.3.13-pre.0 152 8/18/2022
3.3.12 183 8/15/2022
3.3.12-pre.5 156 8/14/2022
3.3.12-pre.4 161 8/14/2022
3.3.12-pre.3 165 8/12/2022
3.3.12-pre.2 167 8/9/2022
3.3.12-pre.1 156 8/9/2022
3.3.12-pre.0 160 8/9/2022
3.3.11 244 8/1/2022
3.3.10 179 7/31/2022
3.3.10-pre.6 169 7/31/2022
3.3.10-pre.5 161 7/27/2022
3.3.10-pre.4 155 7/25/2022
3.3.10-pre.3 163 7/24/2022
3.3.10-pre.2 163 7/19/2022
3.3.10-pre.1 164 7/18/2022
3.3.10-pre.0 178 7/12/2022
3.3.9 199 6/30/2022
3.3.8 206 6/15/2022
3.3.8-pre.3 166 6/15/2022
3.3.8-pre.2 179 6/8/2022
3.3.8-pre.1 172 6/6/2022
3.3.7 215 5/24/2022
3.3.6 191 5/24/2022
3.3.5 191 5/22/2022
3.3.4 200 5/16/2022
3.3.4-pre.1 178 5/12/2022
3.3.4-pre.0 184 5/11/2022
3.3.3 240 5/6/2022
3.3.3-cli-test.16 187 5/5/2022
3.3.3-cli-test.12 186 5/5/2022
3.3.3-cli-test.9 188 5/4/2022