Top 1,000 Features Creators Events Podcasts Extensions Interviews Blog Explorer CSV

mgmt

< >

mgmt is a programming language created in 2015 by James Shubin.

#289on PLDB 9Years Old
Download source code:
git clone https://github.com/purpleidea/mgmt
Homepage · Source Code · Twitter

Next generation distributed, event-driven, parallel config management!


Example 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" }, }

Language features

Feature Supported Example Token
Comments ✓
# A comment
Line Comments ✓
# A comment
#
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll