UNPKG

2.26 kBMarkdownView Raw
1<!--
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance
9# with the License. You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing,
14# software distributed under the License is distributed on an
15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16# KIND, either express or implied. See the License for the
17# specific language governing permissions and limitations
18# under the License.
19#
20-->
21
22# Bash 쉘 지원
23
24코르 도우 바 CLI Bash에 대 한 명령줄 탭 완성 기능을 제공 하는 스크립트와 함께 번들로 제공. 충분히 유닉스 y 운영 체제 (리눅스, BSD, OS X)을 실행 하는 경우 입력 코르도바 커맨드 라인을 쉽게 하기 위해이 설치할 수 있습니다.
25
26## 설치
27
28### 리눅스
29
30리눅스 또는 BSD 시스템에 설치 하려면 복사는 `scripts/cordova.completion` 파일을 당신의 `/etc/bash_completion.d` 디렉터리. 이 다음에 새 셸을 시작할 때 읽을 것 이다.
31
32### 운영 체제 X
33
34OS X에는 `scripts/cordova.completion` 파일을 어디서 나 읽을 수 있는, 그리고의 끝에 다음 줄을 추가 `~/.bashrc` 파일:
35
36 source <path to>/cordova.completion
37
38
39이 다음에 새 셸을 시작할 때 읽을 것 이다.
40
41## 사용
42
43그것은 쉽게! 명령줄 '코르도바' 라는 실행 파일을 시작으로 그냥 누르면 `<TAB>` 유효한 완료 목록을 보려면 언제 든 지.
44
45예:
46
47 $ cordova <TAB>
48 build compile create emulate platform plugin prepare serve
49
50 $ cordova pla<TAB>
51
52 $ cordova platform <TAB>
53 add ls remove rm
54
55 $ cordova platform a<TAB>
56
57 $ cordova platform add <TAB>
58 android blackberry ios wp8 www
59
60 $ cordova plugin rm <TAB>
61
62 $ cordova plugin rm org.apache.cordova.<TAB>
63 org.apache.cordova.file org.apache.cordova.inappbrowser
\No newline at end of file