INNER CODE UNIT · Python

list

biowasm/biowasm · bin/compile.py:26

def list():
	"""
	List all biowasm packages
	"""
	for tool in CONFIG["tools"]:
		name = tool["name"]
		versions = ", ".join([ v["version"] for v in tool["versions"] ])
		print(f"{name.ljust(10)}\t{versions}")


def exec(cmd):
	"""
	Execute a Bash command or just print it on screen if dry run enabled
	"""
	cmd_dry = f"{COLOR_GREEN}{'    ' * LEVEL}{cmd}{COLOR_OFF}"
	print(cmd_dry)

	if not args.dry_run:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…