This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.
3.5.3.4. 互动创建
您还可以以互动方式运行 odo create 命令,以引导您按照创建组件所需的步骤进行指导:
odo create
$odo create? Which devfile component type do you wish to create go? What do you wish to name the new devfile component go-api? What project do you want the devfile component to be created in defaultDevfile Object Validation
✓ Checking devfile existence [164258ns]
✓ Creating a devfile component from registry: DefaultDevfileRegistry [246051ns]
Validation
✓ Validating if devfile name is correct [92255ns]
? Do you want to download a starter project YesStarter Project
✓ Downloading starter project go-starter from https://github.com/devfile-samples/devfile-stack-go.git [429ms]
Please use odo push command to create the component with source deployed
Copy to ClipboardCopied!Toggle word wrapToggle overflow