From 01ce6319e871faf3f745f2132816063ce452a396 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Tue, 13 Jan 2026 08:24:43 -0800 Subject: [PATCH] Update gam.cfg.md --- wiki/gam.cfg.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/wiki/gam.cfg.md b/wiki/gam.cfg.md index 168bf3e7..fe0e1fb1 100644 --- a/wiki/gam.cfg.md +++ b/wiki/gam.cfg.md @@ -1,6 +1,7 @@ # GAM Configuration - [Introduction](#introduction) - [Variables](#variables) +- [Set configuration variables](#set-configuration-variables) - [Multiple Computers](#multiple-computers) - [Separate Staff-Student Domains](#separate-staff-student-domains) - [Multiple Customers and Domains](#multiple-customers-and-domains) @@ -681,7 +682,7 @@ user_service_account_access_only ``` This is sample output: ``` -$gam select default verify. +$gam select default verify Config File: /Users/admin/.gam/gam.cfg, Initialized Section: DEFAULT activity_max_results = 100 @@ -808,6 +809,33 @@ Section: DEFAULT user_service_account_access_only = false ``` +## Set configuration variables +You can set variables in gam.cfg with an editor or from the command line with GAM. + +``` + ::= + config ( [=] )* [save] [verify [variables ]] +``` +- ` [=] ` + - Set ` = ` in the current section + - All `` except section are allowed. + - The `=` is optional but must be surrounded by spaces if included. +- `save` + - Write configuration data to gam.cfg +- `verify` + - Print the variable values for the current section + - Use `variables ` to display variables with names selected by `` + - Values are determined in this order: Current section, DEFAULT section, Program default + +You can prefix `` with `