Flutter Engine
The Flutter Engine
Functions | Variables
common Namespace Reference

Functions

def run (cmd)
 

Variables

 FILE_DIR = os.path.dirname(os.path.abspath(__file__))
 
 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))
 
 ASSET_NAME = os.path.basename(FILE_DIR)
 

Function Documentation

◆ run()

def common.run (   cmd)
Run a command, eg. "upload" or "download". 

Definition at line 24 of file common.py.

24def run(cmd):
25 """Run a command, eg. "upload" or "download". """
26 assets.main([cmd, ASSET_NAME] + sys.argv[1:])
def run(cmd)
Definition: common.py:24

Variable Documentation

◆ ASSET_NAME

common.ASSET_NAME = os.path.basename(FILE_DIR)

Definition at line 21 of file common.py.

◆ FILE_DIR

common.FILE_DIR = os.path.dirname(os.path.abspath(__file__))

Definition at line 15 of file common.py.

◆ INFRA_BOTS_DIR

common.INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))

Definition at line 16 of file common.py.