• Searching...

  • No search results found for .
Hub Pricing Docs
  • Hub
  • Pricing
  • Docs
Sign In
Reference
  • Getting Started
  • Hub
  • Deploying
  • Studio
  • Server
  • VM
  • Reference
  • About
\
TurboScript
  • Command Line
  • TurboScript
  • Turbo Shell
  • Dependencies
  • Turbo Client
  • Turbo Play
  • Turbo Desktop
\
requires
  • TurboScript
  • batch
  • cmd
  • copy
  • disable
  • echo
  • enable
  • env
  • hosts
  • import
  • isolate
  • layer
  • meta
  • require
  • requires
  • route
  • setworkdir
  • shellextension
  • startup
  • sync
  • using
  • var
  • workdir
Getting Started Hub Deploying Studio Server VM Reference About
  • Command Line
    • Command Line Interface
    • build
    • cache
    • commit
    • config
    • containers
    • continue
    • copyi
    • cp
    • diff
    • export
    • fork
    • gc
    • gcc
    • gci
    • gcl
    • help
    • history
    • images
    • import
    • inspect
    • install
    • installed
    • installi
    • kill
    • login
    • logout
    • logs
    • netstat
    • new
    • ps
    • pull
    • push
    • release
    • releases
    • resume
    • revert
    • rm
    • rmi
    • run
    • save
    • search
    • sessions
    • start
    • stop
    • subscribe
    • subscription
    • subscriptions
    • suspend
    • try
    • uninstall
    • uninstalli
    • unsubscribe
    • version
    • vm
    • vms
  • TurboScript
    • TurboScript
    • batch
    • cmd
    • copy
    • disable
    • echo
    • enable
    • env
    • hosts
    • import
    • isolate
    • layer
    • meta
    • require
    • requires
    • route
    • setworkdir
    • shellextension
    • startup
    • sync
    • using
    • var
    • workdir
  • Turbo Shell
    • Turbo Shell
    • commit
    • push
  • Dependencies
  • Turbo Client
    • Turbo Client
    • Turbo Client Security
  • Turbo Play
  • Turbo Desktop

requires

The requires instruction defines a build time requirement which should be enforced immediately. If the requirement cannot be satisfied, the build will fail.

requires <requirement>

See the require instruction for the list of supported requirements.

Example:

# Run TurboScript in elevated command prompt
requires privilege:admin
require route

In this article

  • requires
© Turbo.net