mgmt is an actively used programming language created in 2015.

5Years Old 2,828Users ?Jobs

Example code from the web:

import "datetime"
$is_friday = datetime.weekday(datetime.now()) == "friday"
file "/srv/files/" {
 state => $const.res.file.state.exists,
 mode => if $is_friday { # this updates the mode, the instant it changes!
   "0550"
 } else {
   "0770"
 },
}

Last updated June 22nd, 2020

Edit mgmt on GitHub