Skip to content

dsrosen6/addigy-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

addigy-cli

Addigy CLI is a command line tool to run Addigy-related commands from the terminal.

Installation

To install, run the following command in the terminal: bash -c "$(curl -fsSL https://raw.githubusercontent.com/dsrosen6/addigy-cli/refs/heads/main/scripts/install.sh)"

Run

Starts an Addigy policy run. Must be run as root (sudo).
Without flags, it will only let you know the policy run has started.

Example Use Cases

  • You want to start a policy run without waiting for the next scheduled run.
  • You want confirmation that the policy run has started and finished (with verbose or spinner flags).
  • You just deployed a new software item and want to make sure it runs ASAP on this specific Mac.

Usage

addigy run [flags]

Flags

-s, --spinner: run the policy with a spinner. Cannot be used with --verbose.
-v, --verbose: run the policy with full verbose output. Cannot be used with --spinner.

Reset

Resets all Addigy policy progress. Must be run as root (sudo).

Example Use Cases

  • You want Addigy to re-run any "run once" software items (those without condition scripts).
  • There are software items that are stuck in a pending state which won't change after a policy run.

Usage

addigy reset [flags]

Flags

-h, --help: help for reset

Install

Starts an Addigy software item installation. Must be run as root (sudo).
To get the software item ID, navigate to the edit page for the software item in the Addigy web console. In the URL, the ID is everything after "edit/".

Example Use Cases

  • You want to install a software item from the command line instead of from the Addigy web console.
  • For installation from within another script or automation.

Usage

addigy install [id]

Flags

-h, --help: help for install
-s, --spinner: install the software with a spinner instead of full output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published