/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich, Mac Malone -/ module prelude public import Init.Data.ToString import Lake.Version namespace Lake public def usage := uiVersionString ++ " USAGE: lake [OPTIONS] COMMANDS: new create a Lean package in a new directory init create a Lean package in the current directory build ... build targets query ... build targets and output results exe ... build an exe and run it in Lake's environment samply profile an exe with samply and demangle Lean names check-build check if any default build targets are configured test test the package using the configured test driver check-test check if there is a properly configured test driver lint lint the package check-lint check if there is a properly configured lint driver clean remove build outputs shake minimize imports in source files comparator judge a solution against a challenge check check this project against external checker(s) env ... execute a command in Lake's environment lean elaborate a Lean file in Lake's context update update dependencies and save them to the manifest pack pack build artifacts into an archive for distribution unpack unpack build artifacts from an distributed archive upload upload build artifacts to a GitHub release cache manage the Lake cache script manage and run workspace scripts scripts shorthand for `lake script list` run