Intent.SoftwareFactory.CLI.Nightly 4.3.999-nightly.2024-04-19-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.3.999-nightly.2024-04-19-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.3.999-nightly.2024-04-19-0102
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Intent.SoftwareFactory.CLI.Nightly&version=4.3.999-nightly.2024-04-19-0102&prerelease
nuke :add-package Intent.SoftwareFactory.CLI.Nightly --version 4.3.999-nightly.2024-04-19-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-05-02-... 0 5/2/2024
4.3.999-nightly.2024-04-23-... 50 4/23/2024
4.3.999-nightly.2024-04-21-... 41 4/21/2024
4.3.999-nightly.2024-04-20-... 50 4/20/2024
4.3.999-nightly.2024-04-19-... 42 4/19/2024
4.3.999-nightly.2024-04-18-... 39 4/18/2024
4.3.999-nightly.2024-04-12-... 43 4/12/2024
4.3.999-nightly.2024-04-10-... 44 4/10/2024
4.3.999-nightly.2024-04-09-... 53 4/9/2024
4.3.999-nightly.2024-04-06-... 50 4/6/2024
4.3.999-nightly.2024-04-05-... 47 4/5/2024
4.3.999-nightly.2024-04-03-... 47 4/3/2024
4.3.999-nightly.2024-04-02-... 51 4/2/2024
4.3.999-nightly.2024-04-01-... 54 4/1/2024
4.3.999-nightly.2024-03-30-... 47 3/30/2024
4.3.999-nightly.2024-03-29-... 47 3/29/2024
4.3.999-nightly.2024-03-28-... 54 3/28/2024
4.3.0-nightly.2024-03-23-0102 51 3/23/2024
4.3.0-nightly.2024-03-21-0102 54 3/21/2024
4.2.999-nightly.2024-05-02-... 0 5/2/2024
4.2.999-nightly.2024-04-30-... 38 4/30/2024
4.2.999-nightly.2024-04-26-... 33 4/26/2024
4.2.999-nightly.2024-04-25-... 42 4/25/2024
4.2.999-nightly.2024-04-23-... 44 4/23/2024
4.2.999-nightly.2024-04-20-... 42 4/20/2024
4.2.999-nightly.2024-04-18-... 38 4/18/2024
4.2.999-nightly.2024-04-16-... 46 4/16/2024
4.2.999-nightly.2024-04-13-... 46 4/13/2024
4.2.999-nightly.2024-04-12-... 45 4/12/2024
4.2.999-nightly.2024-04-10-... 38 4/10/2024
4.2.999-nightly.2024-04-09-... 50 4/9/2024
4.2.999-nightly.2024-04-06-... 53 4/6/2024
4.2.999-nightly.2024-04-05-... 58 4/5/2024
4.2.999-nightly.2024-04-03-... 51 4/3/2024
4.2.999-nightly.2024-04-02-... 49 4/2/2024
4.2.999-nightly.2024-03-31-... 49 3/31/2024
4.2.999-nightly.2024-03-30-... 45 3/30/2024
4.2.999-nightly.2024-03-29-... 46 3/29/2024
4.2.999-nightly.2024-03-27-... 46 3/27/2024
4.2.0-nightly.202401090430 113 1/9/2024
4.2.0-nightly.202401060302 126 1/6/2024
4.2.0-nightly.202401050829 75 1/5/2024
4.2.0-nightly.202401050302 61 1/5/2024
4.2.0-nightly.2024-03-26-0102 50 3/26/2024
4.2.0-nightly.2024-03-25-0101 56 3/25/2024
4.2.0-nightly.2024-03-24-0101 58 3/24/2024
4.2.0-nightly.2024-03-21-0102 53 3/21/2024
4.2.0-nightly.2024-03-20-0102 49 3/20/2024
4.2.0-nightly.2024-03-19-0102 52 3/19/2024
4.2.0-nightly.2024-03-18-0102 50 3/18/2024
4.2.0-nightly.2024-03-17-0101 53 3/17/2024
4.2.0-nightly.2024-03-15-0102 52 3/15/2024
4.2.0-nightly.2024-03-14-0102 52 3/14/2024
4.2.0-nightly.2024-03-13-0102 48 3/13/2024
4.2.0-nightly.2024-03-12-0102 52 3/12/2024
4.2.0-nightly.2024-03-10-0101 52 3/10/2024
4.2.0-nightly.2024-03-09-0101 48 3/9/2024
4.2.0-nightly.2024-03-07-0102 48 3/7/2024
4.2.0-nightly.2024-03-06-0102 59 3/6/2024
4.2.0-nightly.2024-03-05-0102 57 3/5/2024
4.2.0-nightly.2024-03-04-0102 60 3/4/2024
4.2.0-nightly.2024-03-03-0101 68 3/3/2024
4.2.0-nightly.2024-03-02-0101 57 3/2/2024
4.2.0-nightly.2024-03-01-0102 58 3/1/2024
4.2.0-nightly.2024-02-29-0102 58 2/29/2024
4.2.0-nightly.2024-02-28-0102 49 2/28/2024
4.2.0-nightly.2024-02-27-0102 57 2/27/2024
4.2.0-nightly.2024-02-26-0102 53 2/26/2024
4.2.0-nightly.2024-02-25-0101 51 2/25/2024
4.2.0-nightly.2024-02-24-0101 55 2/24/2024
4.2.0-nightly.2024-02-22-0102 54 2/22/2024
4.2.0-nightly.2024-02-21-0102 55 2/21/2024
4.2.0-nightly.2024-02-19-0102 52 2/19/2024
4.2.0-nightly.2024-02-17-0101 51 2/17/2024
4.2.0-nightly.2024-02-16-0102 51 2/16/2024
4.2.0-nightly.2024-02-15-0102 60 2/15/2024
4.2.0-nightly.2024-02-14-0102 59 2/14/2024
4.2.0-nightly.2024-02-13-0102 59 2/13/2024
4.2.0-nightly.2024-02-12-0102 55 2/12/2024
4.2.0-nightly.2024-02-10-0101 55 2/10/2024
4.2.0-nightly.2024-02-09-0102 56 2/9/2024
4.2.0-nightly.2024-02-08-0102 53 2/8/2024
4.2.0-nightly.2024-02-07-0102 58 2/7/2024
4.2.0-nightly.2024-02-06-0102 57 2/6/2024
4.2.0-nightly.2024-02-05-0101 57 2/5/2024
4.2.0-nightly.2024-02-03-0101 57 2/3/2024
4.2.0-nightly.2024-02-02-0102 56 2/2/2024
4.2.0-nightly.2024-02-01-0102 55 2/1/2024
4.2.0-nightly.2024-01-31-0639 54 1/31/2024
4.2.0-nightly.2024-01-30-0102 53 1/30/2024
4.2.0-nightly.2024-01-27-0102 59 1/27/2024
4.2.0-nightly.2024-01-26-0632 56 1/26/2024
4.2.0-nightly.2024-01-25-0102 58 1/25/2024
4.2.0-nightly.2024-01-24-0855 54 1/24/2024
4.2.0-nightly.2024-01-24-0102 55 1/24/2024
4.2.0-nightly.2024-01-23-0102 53 1/23/2024
4.2.0-nightly.2024-01-22-1314 59 1/22/2024
4.2.0-nightly.2024-01-22-0125 60 1/22/2024
4.2.0-nightly.2024-01-18-0102 59 1/18/2024
4.2.0-nightly.2024-01-16-0102 57 1/16/2024
4.2.0-nightly.2024-01-15-0837 60 1/15/2024
4.2.0-nightly.2024-01-15-0102 68 1/15/2024
4.2.0-nightly.2024-01-13-0101 59 1/13/2024
4.2.0-nightly.2024-01-12-0102 69 1/12/2024
4.2.0-nightly.2024-01-11-0838 76 1/11/2024
4.2.0-nightly.2024-01-11-0102 75 1/11/2024
4.2.0-nightly.2024-01-10-0102 77 1/10/2024
4.1.0-nightly.202404230302 42 4/23/2024
4.1.0-nightly.202403230301 51 3/23/2024
4.1.0-nightly.202402210302 66 2/21/2024
4.1.0-nightly.202402200302 51 2/20/2024
4.1.0-nightly.202402190302 54 2/19/2024
4.1.0-nightly.202402150302 57 2/15/2024
4.1.0-nightly.202402140302 59 2/14/2024
4.1.0-nightly.202402130302 73 2/13/2024
4.1.0-nightly.202402120302 56 2/12/2024
4.1.0-nightly.202402100302 58 2/10/2024
4.1.0-nightly.202402060302 68 2/6/2024
4.1.0-nightly.202401300302 61 1/30/2024
4.1.0-nightly.202401290302 63 1/29/2024
4.1.0-nightly.202401240302 62 1/24/2024
4.1.0-nightly.202401230302 59 1/23/2024
4.1.0-nightly.202401220302 66 1/22/2024
4.1.0-nightly.202401210301 61 1/21/2024
4.1.0-nightly.202401200301 58 1/20/2024
4.1.0-nightly.202401170302 71 1/17/2024
4.1.0-nightly.202401160302 69 1/16/2024
4.1.0-nightly.202401150301 70 1/15/2024
4.1.0-nightly.202401140301 71 1/14/2024
4.1.0-nightly.202401130302 61 1/13/2024
4.1.0-nightly.202401120302 75 1/12/2024
4.1.0-nightly.202401110302 69 1/11/2024
4.1.0-nightly.202401100302 84 1/10/2024
4.1.0-nightly.202401090301 67 1/9/2024
4.1.0-nightly.202401070607 82 1/7/2024
4.1.0-nightly.202401060301 77 1/6/2024
4.1.0-nightly.202401050302 64 1/5/2024
4.1.0-nightly.202401040302 71 1/4/2024
4.1.0-nightly.202401030302 81 1/3/2024
4.1.0-nightly.202401010301 85 1/1/2024
4.1.0-nightly.202312300301 93 12/30/2023
4.1.0-nightly.202312291139 72 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 59 12/15/2023
4.1.0-nightly.202312141220 53 12/14/2023
4.1.0-nightly.202312141135 42 12/14/2023
4.1.0-nightly.202312140703 49 12/14/2023
4.1.0-nightly.202312140302 53 12/14/2023
4.1.0-nightly.202312131634 48 12/13/2023
4.1.0-nightly.202312130302 44 12/13/2023
4.1.0-nightly.202312110301 55 12/11/2023
4.1.0-nightly.202312100301 53 12/10/2023
4.1.0-nightly.202312090301 54 12/9/2023
4.1.0-nightly.202312080302 57 12/8/2023