Script Commands

uac script

Script management commands, including creating, updating, deleting, and listing scripts

uac script [OPTIONS] COMMAND [ARGS]...

create

Create a Script

uac script create [OPTIONS] retain_sys_ids=value

Options

-o, --output <output>
-i, --input <input>

Required

-s, --select <select>

select which field to be returned. JSONPATH

Arguments

retain_sys_ids=value

Optional argument(s)

delete

Delete a Script

uac script delete [OPTIONS] scriptid=value scriptname=value

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

scriptid=value scriptname=value

Required argument(s)

get

Retrieves information on a specific Script

uac script get [OPTIONS] scriptid=value scriptname=value

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

scriptid=value scriptname=value

Required argument(s)

list

List Scripts

uac script list [OPTIONS]

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

update

Modifies the Script specified by the sysId

uac script update [OPTIONS] version=value sys_id=value exclude_related=value
                  export_release_level=value export_table=value
                  script_name=value script_type=value description=value
                  content=value resolve_variables=value retain_sys_ids=value
                  opswise_groups=value notes=value

Options

-o, --output <output>
-i, --input <input>

Required

-s, --select <select>

select which field to be returned. JSONPATH

Arguments

version=value sys_id=value exclude_related=value export_release_level=value export_table=value script_name=value script_type=value description=value content=value resolve_variables=value retain_sys_ids=value opswise_groups=value notes=value

Optional argument(s)