config - AWS IoT Greengrass

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

config

AWS IoT Greengrass개발 키트 config 명령줄 인터페이스 (GDK CLI) 의 명령을 사용하여 구성 파일에서 GDK의 구성을 수정합니다. gdk-config.json

하위 명령

update

대화형 프롬프트를 시작하여 기존 GDK 구성 파일 내의 필드를 수정합니다.

시놉시스
$ gdk config update [--component]
인수
  • -c, --component — 파일의 구성 요소 관련 필드를 업데이트합니다. gdk-config.json 이 인수는 유일한 옵션이므로 필수입니다.

출력

다음 예제는 이 명령을 실행하여 구성 요소를 구성할 때 생성되는 출력을 보여줍니다.

$ gdk config update --component Current value of the REQUIRED component_name is (default: com.example.PythonHelloWorld): Current value of the REQUIRED author is (default: author): Current value of the REQUIRED version is (default: NEXT_PATCH): Do you want to change the build configurations? (y/n) Do you want to change the publish configurations? (y/n) [2023-09-26 10:19:48] INFO - Config file has been updated. Exiting...