Welcome & Orientation
~2 minWhat is this?
An interactive onboarding guide for Megaport engineers who need to contribute to or review PRs on megaport-cli — the Go CLI tool for managing Megaport network infrastructure. By the end you will understand the codebase architecture deeply enough to add new commands, review PRs with confidence, and know where the sharp edges are.
This tutorial is for engineers at any level — intern, junior, or senior. Sections build on each other, but each is self-contained enough that you can skip ahead if you already know a topic.
Prerequisites
Comfortable with Go. No prior CLI or Megaport knowledge required — we cover both from scratch.
Format
10 sections: reading, code walkthroughs, interactive diagrams, quizzes, and PR checklists.
Goal
Leave able to add new commands, review PRs with confidence, and know the common pitfalls.
Time
~57 minutes total. Each section is self-contained — take breaks between them.
Learning Path
A note on accuracy
All code examples in this tutorial are extracted directly from the megaport-cli source. If you spot something that does not match the codebase, the code is the source of truth — please open a PR to fix this tutorial.