Intent.SoftwareFactory.CLI 4.2.8

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.2.8                
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.2.8                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Intent.SoftwareFactory.CLI&version=4.2.8                
nuke :add-package Intent.SoftwareFactory.CLI --version 4.2.8                

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.4.0-alpha.0 126 12/13/2024
4.3.9 156 12/15/2024
4.3.9-pre.0 98 12/10/2024
4.3.9-beta.0 220 11/26/2024
4.3.8 316 11/25/2024
4.3.8-pre.0 67 11/22/2024
4.3.7 209 11/19/2024
4.3.7-pre.0 60 11/18/2024
4.3.6 172 11/14/2024
4.3.6-pre.2 59 11/13/2024
4.3.6-pre.1 107 11/7/2024
4.3.6-pre.0 36 11/7/2024
4.3.5 362 11/7/2024
4.3.5-pre.2 111 11/1/2024
4.3.5-pre.1 99 10/28/2024
4.3.5-pre.0 125 10/22/2024
4.3.4 229 10/21/2024
4.3.4-pre.4 56 10/21/2024
4.3.4-pre.2 105 10/14/2024
4.3.4-pre.1 56 10/14/2024
4.3.4-pre.0 70 10/13/2024
4.3.3 181 10/11/2024
4.3.3-pre.2 64 10/11/2024
4.3.3-pre.1 49 10/10/2024
4.3.3-pre.0 50 10/10/2024
4.3.2 131 10/10/2024
4.3.2-pre.0 76 10/9/2024
4.3.1 262 10/2/2024
4.3.1-pre.1 48 10/2/2024
4.3.1-pre.0 58 10/1/2024
4.3.0 161 9/29/2024
4.3.0-beta.10 139 9/23/2024
4.3.0-beta.8 228 9/14/2024
4.3.0-beta.6 78 9/12/2024
4.3.0-beta.0 504 8/6/2024
4.2.10-alpha.0 71 8/21/2024
4.2.9 723 7/15/2024
4.2.9-pre.1 86 7/10/2024
4.2.9-pre.0 122 7/2/2024
4.2.8 276 6/30/2024
4.2.8-pre.1 121 6/24/2024
4.2.8-pre.0 92 6/21/2024
4.2.7 196 6/19/2024
4.2.7-pre.0 93 6/13/2024
4.2.6 378 5/22/2024
4.2.6-pre.0 86 5/21/2024
4.2.5 144 5/21/2024
4.2.5-pre.8 85 5/20/2024
4.2.5-pre.7 55 5/20/2024
4.2.5-pre.6 62 5/20/2024
4.2.5-pre.5 90 5/14/2024
4.2.5-pre.4 80 5/13/2024
4.2.5-pre.3 63 5/11/2024
4.2.5-pre.2 104 5/7/2024
4.2.5-pre.1 63 5/2/2024
4.2.5-pre.0 94 4/29/2024
4.2.4 472 4/12/2024
4.2.4-pre.1 113 4/7/2024
4.2.4-pre.0 70 4/5/2024
4.2.4-beta.6 54 4/5/2024
4.2.4-beta.5 87 4/4/2024
4.2.4-beta.4 107 4/2/2024
4.2.4-beta.3 67 4/2/2024
4.2.4-beta.2 89 4/1/2024
4.2.4-beta.1 80 3/27/2024
4.2.4-beta.0 115 3/26/2024
4.2.3 277 3/25/2024
4.2.3-pre.0 174 3/19/2024
4.2.2 268 3/12/2024
4.2.2-pre.0 70 3/11/2024
4.2.1 167 3/11/2024
4.2.1-pre.0 71 3/11/2024
4.2.0 174 3/10/2024
4.2.0-beta.8 73 3/8/2024
4.2.0-beta.7 68 3/8/2024
4.2.0-beta.6 133 3/5/2024
4.2.0-beta.5 77 3/5/2024
4.2.0-beta.4 101 2/29/2024
4.2.0-beta.3 361 2/14/2024
4.2.0-beta.2 66 2/14/2024
4.2.0-beta.1 87 2/14/2024
4.2.0-beta.0 158 2/9/2024
4.1.5 499 1/23/2024
4.1.5-pre.2 82 1/22/2024
4.1.5-pre.1 81 1/21/2024
4.1.5-pre.0 70 1/20/2024
4.1.4 343 1/17/2024
4.1.4-pre.0 85 1/16/2024
4.1.3 320 1/14/2024
4.1.3-pre.4 76 1/13/2024
4.1.3-pre.3 73 1/13/2024
4.1.3-pre.2 100 1/12/2024
4.1.3-pre.1 139 1/10/2024
4.1.3-pre.0 70 1/10/2024
4.1.2 377 1/8/2024
4.1.2-pre.6 121 1/6/2024
4.1.2-pre.5 90 1/5/2024
4.1.2-pre.4 92 1/5/2024
4.1.2-pre.3 103 1/3/2024
4.1.2-pre.2 91 1/2/2024
4.1.2-pre.1 112 12/31/2023
4.1.2-pre.0 91 12/28/2023
4.1.1 154 12/22/2023
4.1.1-pre.2 54 12/22/2023
4.1.1-pre.1 74 12/22/2023
4.1.1-pre.0 54 12/22/2023
4.1.0 119 12/20/2023
4.1.0-beta.21 278 12/10/2023
4.1.0-beta.20 184 12/6/2023
4.1.0-beta.19 64 12/5/2023
4.1.0-beta.18 90 12/4/2023
4.1.0-beta.17 80 12/2/2023
4.1.0-beta.16 96 11/30/2023
4.1.0-beta.15 64 11/29/2023
4.1.0-beta.14 89 11/28/2023
4.1.0-beta.12 128 11/24/2023
4.1.0-beta.11 132 11/22/2023
4.1.0-beta.10 111 11/19/2023
4.1.0-beta.9 121 11/15/2023
4.1.0-beta.8 156 11/7/2023
4.1.0-beta.7 107 11/6/2023
4.1.0-beta.6 70 11/3/2023
4.1.0-beta.5 81 11/3/2023
4.1.0-beta.4 88 11/2/2023
4.1.0-beta.3 85 11/2/2023
4.1.0-beta.2 170 10/29/2023
4.1.0-beta.1 70 10/28/2023
4.1.0-beta.0 137 10/25/2023
4.1.0-alpha.202312081616 60 12/8/2023
4.1.0-alpha.202312062101 56 12/7/2023
4.1.0-alpha.32 96 10/25/2023
4.1.0-alpha.31 69 10/24/2023
4.1.0-alpha.30 100 10/24/2023
4.1.0-alpha.29 64 10/23/2023
4.1.0-alpha.28 111 10/22/2023
4.1.0-alpha.27 123 10/17/2023
4.1.0-alpha.26 119 10/14/2023
4.1.0-alpha.25 91 10/12/2023
4.1.0-alpha.24 129 10/9/2023
4.1.0-alpha.23 85 10/8/2023
4.1.0-alpha.21 183 10/1/2023
4.1.0-alpha.20 79 9/30/2023
4.1.0-alpha.19 82 9/29/2023
4.1.0-alpha.17 108 9/28/2023
4.1.0-alpha.16 147 9/25/2023
4.1.0-alpha.15 90 9/24/2023
4.1.0-alpha.14 78 9/24/2023
4.1.0-alpha.13 88 9/23/2023
4.1.0-alpha.12 135 9/19/2023
4.1.0-alpha.11 99 9/19/2023
4.1.0-alpha.10 81 9/19/2023
4.1.0-alpha.9 101 9/17/2023
4.1.0-alpha.8 78 9/16/2023
4.1.0-alpha.6 170 9/9/2023
4.1.0-alpha.5 78 9/8/2023
4.1.0-alpha.4 131 9/5/2023
4.1.0-alpha.3 86 9/2/2023
4.1.0-alpha.2 102 8/26/2023
4.1.0-alpha.1 76 8/25/2023
4.1.0-alpha.0 81 8/24/2023
4.0.6 1,257 10/2/2023
4.0.5 105 9/28/2023
4.0.5-pre.3 73 9/19/2023
4.0.5-pre.2 71 9/18/2023
4.0.5-pre.1 198 9/15/2023
4.0.5-pre.0 79 9/15/2023
4.0.4 256 9/13/2023
4.0.4-pre.1 87 9/7/2023
4.0.4-pre.0 88 8/29/2023
4.0.4-alpha.2 211 8/21/2023
4.0.4-alpha.0 135 8/10/2023
4.0.3 970 8/3/2023
4.0.3-pre.7 126 7/27/2023
4.0.3-pre.6 95 7/26/2023
4.0.3-pre.5 102 7/24/2023
4.0.3-pre.4 110 7/23/2023
4.0.3-pre.3 98 7/23/2023
4.0.3-pre.2 95 7/22/2023
4.0.3-pre.1 115 7/19/2023
4.0.3-pre.0 119 7/17/2023
4.0.2 423 7/17/2023
4.0.2-pre.8 96 7/17/2023
4.0.2-pre.7 93 7/17/2023
4.0.2-pre.6 90 7/16/2023
4.0.2-pre.5 104 7/15/2023
4.0.2-pre.4 93 7/14/2023
4.0.2-pre.3 98 7/11/2023
4.0.2-pre.2 128 7/7/2023
4.0.2-pre.1 130 7/3/2023
4.0.1 1,044 6/9/2023
4.0.1-pre.14 91 6/8/2023
4.0.1-pre.13 94 6/6/2023
4.0.1-pre.12 83 6/5/2023
4.0.1-pre.11 97 6/1/2023
4.0.1-pre.10 85 5/31/2023
4.0.1-pre.9 84 5/30/2023
4.0.1-pre.8 98 5/26/2023
4.0.1-pre.7 94 5/25/2023
4.0.1-pre.6 87 5/25/2023
4.0.1-pre.5 113 5/20/2023
4.0.1-pre.4 91 5/19/2023
4.0.1-pre.3 93 5/17/2023
4.0.1-pre.2 114 5/12/2023
4.0.1-pre.1 121 5/10/2023
4.0.1-pre.0 90 5/10/2023
4.0.0 687 5/7/2023
4.0.0-test.11 137 4/28/2023
4.0.0-test.10 101 4/27/2023
4.0.0-beta.12 94 5/1/2023
4.0.0-beta.11 94 4/28/2023
4.0.0-beta.10 93 4/26/2023
4.0.0-beta.9 156 4/21/2023
4.0.0-beta.8 92 4/18/2023
4.0.0-beta.7 101 4/16/2023
4.0.0-beta.6 98 4/16/2023
4.0.0-beta.5 94 4/14/2023
4.0.0-beta.4 93 4/13/2023
4.0.0-beta.3 98 4/13/2023
4.0.0-beta.2 101 4/12/2023
4.0.0-beta.1 97 4/11/2023
4.0.0-beta.0 100 4/6/2023
4.0.0-alpha.18 93 4/5/2023
4.0.0-alpha.17 97 4/5/2023
4.0.0-alpha.15 95 4/5/2023
4.0.0-alpha.14 99 4/5/2023
4.0.0-alpha.13 101 4/4/2023
4.0.0-alpha.12 98 4/2/2023
4.0.0-alpha.11 99 4/1/2023
4.0.0-alpha.10 99 3/31/2023
4.0.0-alpha.9 108 3/27/2023
4.0.0-alpha.8 108 3/24/2023
4.0.0-alpha.7 109 3/22/2023
4.0.0-alpha.6 104 3/22/2023
4.0.0-alpha.5 99 3/19/2023
4.0.0-alpha.4 101 3/16/2023
4.0.0-alpha.3 99 3/14/2023
4.0.0-alpha.2 101 3/13/2023
4.0.0-alpha.1 91 3/12/2023
4.0.0-alpha.0 101 3/12/2023
3.4.5 513 4/14/2023
3.4.4 183 4/13/2023
3.4.3 164 4/11/2023
3.4.3-pre.2 101 4/3/2023
3.4.3-pre.1 107 3/23/2023
3.4.3-pre.0 106 3/14/2023
3.4.2 585 3/14/2023
3.4.2-pre.5 105 3/13/2023
3.4.2-pre.4 152 3/2/2023
3.4.2-pre.3 159 2/22/2023
3.4.2-pre.2 120 2/22/2023
3.4.2-pre.1 114 2/21/2023
3.4.2-pre.0 120 2/20/2023
3.4.1 238 2/20/2023
3.4.1-pre.9 120 2/15/2023
3.4.1-pre.8 106 2/15/2023
3.4.1-pre.7 126 2/12/2023
3.4.1-pre.6 107 2/11/2023
3.4.1-pre.5 118 2/10/2023
3.4.1-pre.4 127 2/4/2023
3.4.1-pre.3 156 1/25/2023
3.4.1-pre.2 155 1/18/2023
3.4.1-pre.1 142 1/12/2023
3.4.1-pre.0 123 1/12/2023
3.4.0 140 1/7/2023
3.4.0-pre.16 123 12/29/2022
3.4.0-pre.15 113 12/23/2022
3.4.0-pre.14 114 12/21/2022
3.4.0-pre.13 117 12/21/2022
3.4.0-pre.12 124 12/19/2022
3.4.0-pre.11 147 12/12/2022
3.4.0-pre.10 131 12/8/2022
3.4.0-pre.9 148 12/2/2022
3.4.0-pre.8 127 12/1/2022
3.4.0-pre.7 131 11/29/2022
3.4.0-pre.6 127 11/27/2022
3.4.0-pre.5 115 11/26/2022
3.4.0-pre.4 120 11/24/2022
3.4.0-pre.3 120 11/23/2022
3.4.0-pre.2 142 11/21/2022
3.4.0-pre.1 121 11/20/2022
3.4.0-pre.0 123 11/18/2022
3.3.20-pre.3 147 11/9/2022
3.3.20-pre.2 126 11/8/2022
3.3.20-pre.1 142 11/4/2022
3.3.20-pre.0 152 10/31/2022
3.3.19 167 10/21/2022
3.3.19-pre.2 154 10/20/2022
3.3.19-pre.1 137 10/17/2022
3.3.19-pre.0 130 10/14/2022
3.3.18 158 10/10/2022
3.3.18-pre.8 134 10/7/2022
3.3.18-pre.7 148 10/2/2022
3.3.18-pre.6 131 9/29/2022
3.3.18-pre.5 129 9/29/2022
3.3.18-pre.4 129 9/29/2022
3.3.18-pre.3 124 9/29/2022
3.3.18-pre.2 123 9/28/2022
3.3.18-pre.1 125 9/28/2022
3.3.17 176 9/26/2022
3.3.16 138 9/24/2022
3.3.16-pre.5 125 9/22/2022
3.3.16-pre.4 131 9/20/2022
3.3.16-pre.3 127 9/19/2022
3.3.16-pre.2 133 9/15/2022
3.3.16-pre.1 134 9/15/2022
3.3.16-pre.0 132 9/14/2022
3.3.15 199 9/11/2022
3.3.14 147 9/9/2022
3.3.14-test.0 139 9/6/2022
3.3.14-pre.1 138 9/7/2022
3.3.14-pre.0 144 8/26/2022
3.3.13 253 8/24/2022
3.3.13-pre.3 161 8/21/2022
3.3.13-pre.2 158 8/20/2022
3.3.13-pre.1 152 8/19/2022
3.3.13-pre.0 150 8/18/2022
3.3.12 181 8/15/2022
3.3.12-pre.5 154 8/14/2022
3.3.12-pre.4 159 8/14/2022
3.3.12-pre.3 163 8/12/2022
3.3.12-pre.2 165 8/9/2022
3.3.12-pre.1 154 8/9/2022
3.3.12-pre.0 158 8/9/2022
3.3.11 242 8/1/2022
3.3.10 177 7/31/2022
3.3.10-pre.6 167 7/31/2022
3.3.10-pre.5 159 7/27/2022
3.3.10-pre.4 153 7/25/2022
3.3.10-pre.3 161 7/24/2022
3.3.10-pre.2 161 7/19/2022
3.3.10-pre.1 162 7/18/2022
3.3.10-pre.0 176 7/12/2022
3.3.9 197 6/30/2022
3.3.8 204 6/15/2022
3.3.8-pre.3 164 6/15/2022
3.3.8-pre.2 177 6/8/2022
3.3.8-pre.1 170 6/6/2022
3.3.7 213 5/24/2022
3.3.6 189 5/24/2022
3.3.5 189 5/22/2022
3.3.4 198 5/16/2022
3.3.4-pre.1 176 5/12/2022
3.3.4-pre.0 182 5/11/2022
3.3.3 238 5/6/2022
3.3.3-cli-test.16 185 5/5/2022
3.3.3-cli-test.12 184 5/5/2022
3.3.3-cli-test.9 186 5/4/2022