Qob
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

๐Ÿšฉ ๅ‘ฝไปคๅ’Œ้ธ้ …


eask ็จ‹ๅบ็š„ไธ€่ˆฌ่ชžๆณ•ๆ˜ฏ๏ผš

$ eask [GLOBAL-OPTIONS] [COMMAND] [COMMAND-OPTIONS] [COMMAND-ARGUMENTS]

๐Ÿšฉ ๅ‰ตๅปบ

๐Ÿ” eask create package

ไฝฟ็”จ้ป˜่ช็š„โ€œEaskโ€ๆ–‡ไปถๅ’Œ CI/CD ๆ”ฏๆŒๅ‰ตๅปบไธ€ๅ€‹ๆ–ฐ็š„ elisp ้ …็›ฎใ€‚

$ eask [GLOBAL-OPTIONS] create package <name>
๐Ÿ’ก ๆจกๆฟ้ …็›ฎไฝๆ–ผ https://github.com/emacs-eask/template-elispใ€‚

๐Ÿ” eask create elpa

ไฝฟ็”จ github-elpa ๅ‰ตๅปบไธ€ๅ€‹ๆ–ฐ็š„ ELPAใ€‚

$ eask [GLOBAL-OPTIONS] create elpa <name>
๐Ÿ’ก ๆจกๆฟ้ …็›ฎไฝๆ–ผ https://github.com/emacs-eask/template-elpaใ€‚

๐Ÿšฉ ๆ ธๅฟƒ

็ถ“ๅธธไฝฟ็”จๆœชๅˆ†้กž็š„ๅ‘ฝไปคใ€‚

๐Ÿ” eask init

ๅˆๅง‹ๅŒ–็•ถๅ‰็›ฎ้Œ„ไปฅ้–‹ๅง‹ไฝฟ็”จ Easkใ€‚

$ eask [GLOBAL-OPTIONS] init

Eask ๅฐ‡็”Ÿๆˆ้€™ๆจฃ็š„ๆ–‡ไปถ๏ผš

(package "PACKAGE-NAME"
         "VERSION"
         "YOUR PACKAGE SUMMARY")

(website-url "https://example.com/project-url/")
(keywords "KEYWORD1" "KEYWORD2")

(package-file "PACKAGE-FILE")

(script "test" "echo \"Error: no test specified\" && exit 1")

(source "gnu")

(depends-on "emacs" "26.1")

[ๆŽจ่–ฆ] ๅฆ‚ๆžœๆ‚จๅทฒๆœ‰ elisp ้ …็›ฎ๏ผŒๆ‚จๅฏไปฅๅฐ‡ .el ๆ–‡ไปถ่ฝ‰ๆ›็‚บ Eask ๆ–‡ไปถ๏ผš

$ eask init --from source /path/to/source.el

ๅฆ‚ๆžœๆ‚จๅทฒๆœ‰ Cask ้ …็›ฎ๏ผŒๆ‚จๅฏไปฅๅฐ‡ Cask ๆ–‡ไปถ่ฝ‰ๆ›็‚บ Eask ๆ–‡ไปถ๏ผš

$ eask init --from cask /path/to/Cask

ๅฆ‚ๆžœๆ‚จๅทฒๆœ‰ Eldev ้ …็›ฎ๏ผŒๆ‚จๅฏไปฅๅฐ‡ Eldev ๆ–‡ไปถ่ฝ‰ๆ›็‚บ Eask ๆ–‡ไปถ๏ผš

$ eask init --from eldev /path/to/Eldev

ๅฆ‚ๆžœๆ‚จๅทฒๆœ‰ Keg ้ …็›ฎ๏ผŒๆ‚จๅฏไปฅๅฐ‡ Keg ๆ–‡ไปถ่ฝ‰ๆ›็‚บ Eask ๆ–‡ไปถ๏ผš

$ eask init --from keg /path/to/Keg
๐Ÿ’ก ๆœ‰้—œๆ›ดๅคš Eask ๆ–‡ไปถ็คบไพ‹๏ผŒ่ซ‹ๅƒ้–ฑ็คบไพ‹้ƒจๅˆ†๏ผ

๐Ÿ” eask info

้กฏ็คบๆœ‰้—œ้ …็›ฎๆˆ–้…็ฝฎ็š„ไฟกๆฏใ€‚

$ eask [GLOBAL-OPTIONS] info

๐Ÿ” eask status

้กฏ็คบๅทฅไฝœๅ€็š„็‹€ๆ…‹ใ€‚

$ eask [GLOBAL-OPTIONS] status

๐Ÿ” eask install-deps

ๅฎ‰่ฃๆ‰€ๆœ‰ไพ่ณด้ …ใ€‚

ๅˆฅๅ: install-dependencies, prepare

$ eask [GLOBAL-OPTIONS] install-deps [--dev]
๐Ÿ’ก ๆŒ‡ๅฎš้ธ้ … [–dev] ๅพž้–‹็™ผ็ฏ„ๅœๅฎ‰่ฃไพ่ณด้ …ใ€‚

๐Ÿ” eask install

ๅฎ‰่ฃ่ปŸไปถๅŒ…ใ€‚

$ eask [GLOBAL-OPTIONS] install [PACKAGES..]

้€š้ŽๆŒ‡ๅฎšๅƒๆ•ธๅฎ‰่ฃๅŒ…๏ผš

$ eask install auto-complete helm magit

ๅฆๅ‰‡๏ผŒๅฎƒๅฐ‡ๅฎ‰่ฃ็•ถๅ‰้–‹็™ผ็š„ๅŒ…๏ผš

$ eask install

๐Ÿ” eask uninstall

ๅธ่ผ‰/ๅˆช้™คๅŒ…ใ€‚

$ eask [GLOBAL-OPTIONS] uninstall [PACKAGES..]

้€š้ŽๆŒ‡ๅฎšๅƒๆ•ธๅธ่ผ‰่ปŸไปถๅŒ…๏ผš

$ eask uninstall dash f s

ๅฆๅ‰‡๏ผŒๅฎƒๅฐ‡ๅพž็•ถๅ‰้–‹็™ผไธญๅธ่ผ‰ๅŒ…๏ผš

$ eask uninstall

๐Ÿ” eask package

ๆง‹ๅปบๅŒ…ๅทฅไปถใ€‚

ๅˆฅๅ: pack

$ eask package [DESTINATION]

ๅฆ‚ๆžœๆœชๆŒ‡ๅฎš [DESTINATION]๏ผŒๅ‰‡้ป˜่ชๅฐŽๅ‡บๅˆฐ /dist ๆ–‡ไปถๅคพใ€‚

๐Ÿ” eask compile

ๅญ—็ฏ€็ทจ่ญฏ .el ๆ–‡ไปถใ€‚

$ eask compile [FILES..]

้€š้ŽๆŒ‡ๅฎšๅƒๆ•ธ็ทจ่ญฏๆ–‡ไปถ๏ผš

$ eask compile file-1.el file-2.el

ๆˆ–่€…็ทจ่ญฏๅทฒ็ถ“ๅœจไฝ ็š„ Eask ๆ–‡ไปถไธญๆŒ‡ๅฎš็š„ๆ–‡ไปถใ€‚

$ eask compile

๐Ÿ” eask recompile

้‡ๆ–ฐๅญ—็ฏ€็ทจ่ญฏ .el ๆ–‡ไปถใ€‚

$ eask recompile [FILES..]
๐Ÿ’ก ่ˆ‡ eask compile ้กžไผผ๏ผŒไฝ†ๅฎƒๅœจ็ทจ่ญฏๅ‰ๆœƒๅˆช้™ค่ˆŠ็š„ .elc ๆช”ๆกˆใ€‚

๐Ÿ” eask package-directory

ๆ‰“ๅฐๅŒ…็›ฎ้Œ„็š„่ทฏๅพ‘๏ผŒๅ…ถไธญๅฎ‰่ฃไบ†ๆ‰€ๆœ‰ไพ่ณด้ …ใ€‚

$ eask [GLOBAL-OPTIONS] package-directory

๐Ÿ” eask path

ๆ‰“ๅฐๆญค้ …็›ฎ็š„ PATH ็’ฐๅขƒ่ฎŠ้‡ใ€‚

ๅˆฅๅ: exec-path

$ eask [GLOBAL-OPTIONS] path [PATTERNS..]

ๆˆ–่€…๏ผŒๆ‚จๅฏไปฅๅ‚ณๅ…ฅ [PATTERNS..] ไพ†ๅŸท่กŒๆœ็ดขใ€‚

๐Ÿ” eask load-path

ๆ‰“ๅฐๅŒ…ๅซ็•ถๅ‰้ …็›ฎไพ่ณด้ …็š„ๅŠ ่ผ‰่ทฏๅพ‘ใ€‚

$ eask [GLOBAL-OPTIONS] load-path [PATTERNS..]

ๆˆ–่€…๏ผŒๆ‚จๅฏไปฅๅ‚ณๅ…ฅ [PATTERNS..] ไพ†ๅŸท่กŒๆœ็ดขใ€‚

๐Ÿ” eask files

ๆ‰“ๅฐๆ‰€ๆœ‰ๅŒ…ๆ–‡ไปถ็š„ๅˆ—่กจใ€‚

$ eask [GLOBAL-OPTIONS] files [PATTERNS..]

ๅฆ‚ๆžœๅฎš็พฉไบ† [PATTERNS..] ๏ผŒๅฎƒๅฐ‡้กฏ็คบ่ˆ‡่ฉฒๆจกๅผๅŒน้…็š„ๆ–‡ไปถใ€‚

๐Ÿ” eask recipe

ๅปบ่ญฐ recipe ๆ ผๅผใ€‚

$ eask [GLOBAL-OPTIONS] recipe [FILES..]

๐Ÿ” eask keywords

ๅˆ—ๅ‡บๅฏๅœจๆจ™้กŒ้ƒจๅˆ†ไธญไฝฟ็”จ็š„ๅฏ็”จ้—œ้ตๅญ—ใ€‚

$ eask [GLOBAL-OPTIONS] keywords

๐Ÿ” eask bump

็‚บไฝ ็š„ๅฐˆๆกˆๆˆ– Eask-file ้žๅขž็‰ˆๆœฌ่™Ÿใ€‚

$ eask [GLOBAL-OPTIONS] bump [LEVELS..]
๐Ÿ’ก ๅƒๆ•ธ [LEVELS..] ๆŽฅๅ— majorใ€minor ๅ’Œ/ๆˆ– patch๏ผ

๐Ÿ” eask cat

ๆŸฅ็œ‹ๆ–‡ไปถๅใ€‚

ไฝ็ฝฎๅƒๆ•ธ [PATTERNS..] ๆ˜ฏไธ€ๅ€‹้€š้…็ฌฆๆจกๅผๆ•ธ็ต„ใ€‚

$ eask [GLOBAL-OPTIONS] cat [PATTERNS..]
๐Ÿ’ก ๆญคๅ‘ฝไปคไฝฟ็”จๅŒ… e2ansi ไพ†ๅฎŒๆˆ่ชžๆณ•้ซ˜ไบฎใ€‚

๐Ÿ” eask concat

ๅฐ‡ๆ‰€ๆœ‰ Emacs Lisp ๆ–‡ไปถ้€ฃๆŽฅๆˆไธ€ๅ€‹ๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] concat [FILES..]

๐Ÿ” eask loc

ๅˆ—ๅฐ LOC ไฟกๆฏใ€‚

$ eask [GLOBAL-OPTIONS] loc [FILES..]

๐Ÿšฉ ๆ–‡ไปถ

็”จๆ–ผๅปบ็ซ‹ๆ–‡ๆช”็ซ™้ปž็š„ๅ‘ฝไปคใ€‚

๐Ÿ” eask docs

ๅปบ็ฝฎๆ–‡ๆช”ใ€‚

$ eask [GLOBAL-OPTIONS] docs [NAMES..]

๐Ÿšฉ ๅŸท่กŒ

ๆŒ‡ไปคๅ…่จฑๅŸท่กŒๅœจ Eask ๆ ธๅฟƒไน‹ไธŠใ€‚

ๅŸบๆœฌไธŠ๏ผŒ้€™ๅฏไปฅ่ฎ“ไฝ ๅšไปปไฝ•ไฝ ๆƒณๅš็š„ไบ‹๏ผ

๐Ÿ” eask load

ๆŒ‰้ †ๅบๅŠ ่ผ‰ Emacs Lisp ๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] load [FILES..]

๐Ÿ” eask exec

ไฝฟ็”จ็ตฆๅฎš็š„ๅƒๆ•ธๅŸท่กŒ็ณป็ตฑๅ‘ฝไปคใ€‚

$ eask [GLOBAL-OPTIONS] exec [COMMAND] [ARGUMENTS ...]

๐Ÿ” eask emacs

ๅœจๅˆ้ฉ็š„็’ฐๅขƒไธ‹ๅŸท่กŒemacsใ€‚

$ eask [GLOBAL-OPTIONS] emacs [ARGUMENTS ...]

๐Ÿ” eask eval

ๅฐ‡ FORM ่ฉ•ไผฐ็‚บ lisp ๅฝขๅผใ€‚

$ eask [GLOBAL-OPTIONS] eval [FORM]

๐Ÿ” eask repl

ๅ•Ÿๅ‹• Elisp REPLใ€‚

$ eask [GLOBAL-OPTIONS] repl [FILES..]

ๅˆฅๅ: ielm

๐Ÿ” eask run script

้‹่กŒ่…ณๆœฌใ€‚

$ eask [GLOBAL-OPTIONS] run script [NAMES..]

๐Ÿ” eask run command

้‹่กŒๆŒ‡ไปคใ€‚

ๅˆฅๅ: cmd

$ eask [GLOBAL-OPTIONS] run command [NAMES..]

๐Ÿ” eask docker

ๅœจ Docker ๅฎนๅ™จไธญๅ•Ÿๅ‹•ๆŒ‡ๅฎš็š„ Emacs ็‰ˆๆœฌ

$ eask [GLOBAL-OPTIONS] docker <VERSION> [ARGUMENTS ...]

ไพ‹ๅฆ‚๏ผš

$ eask docker 26.1 info

้€™่ˆ‡็›ดๆŽฅ่ทณๅ…ฅ Emacs 26.1๏ผˆๅœจ docker ไธญ๏ผ‰ไธฆๅŸท่กŒ eask info ็›ธๅŒใ€‚

๐Ÿšฉ ็ฎก็†

ๆŒ‡ไปค่ƒฝๅนซๅŠฉไฝ ็ฎก็†ๅฅ—ไปถไพ่ณด.

๐Ÿ” eask archives

ๅˆ—ๅ‡บๆ‰€ๆœ‰ๅŒ…ๆบใ€‚

$ eask [GLOBAL-OPTIONS] archives

ๅพžๅŒ…ๆบไธญๆœ็ดขๅŒ…ใ€‚

$ eask [GLOBAL-OPTIONS] search [QUEIRES..]

๐Ÿ” eask upgrade

ๅ‡็ดšๆ‰€ๆœ‰่ปŸไปถๅŒ…ใ€‚

$ eask [GLOBAL-OPTIONS] upgrade

๐Ÿ” eask list

ๅˆ—ๅ‡บๅŒ…ใ€‚

$ eask [GLOBAL-OPTIONS] list [--depth]

๐Ÿ” eask outdated

ๅˆ—ๅ‡บๆ‰€ๆœ‰้Žๆ™‚็š„ๅŒ…ใ€‚

$ eask [GLOBAL-OPTIONS] outdated [--depth]

๐Ÿ” eask refresh

ๅˆทๆ–ฐๅŒ…ๆบใ€‚

$ eask [GLOBAL-OPTIONS] refresh

๐Ÿšฉ ็”Ÿๆˆ

็”Ÿๆˆ็”จๆ–ผ้–‹็™ผ็š„ๆ–‡ไปถใ€‚

๐Ÿ” eask generate autoloads

็”Ÿๆˆ autoload ๆ–‡ไปถใ€‚

ๅฐ‡ๅŒ…่‡ชๅ‹•ๅŠ ่ผ‰ๅˆฐ้ …็›ฎๆ น็›ฎ้Œ„ไธญ็š„ project-autoloads.elใ€‚

$ eask [GLOBAL-OPTIONS] generate autoloads

project ๆ˜ฏๅœจ Eask ๆ–‡ไปถไธญ่ฒๆ˜Ž็š„้ …็›ฎๅ็จฑใ€‚ ๆœ‰้—œ่ฉณ็ดฐไฟกๆฏ๏ผŒ่ซ‹ๅƒ้–ฑ ๅคšๆ–‡ไปถๅŒ… (elisp)ใ€‚

๐Ÿ” eask generate pkg-file

็”Ÿๆˆ pkg ๆ–‡ไปถใ€‚

ๅฐ‡ๅŒ…ๆ่ฟฐ็ฌฆๆ–‡ไปถๅฏซๅ…ฅ้ …็›ฎๆ น็›ฎ้Œ„ไธญ็š„ project-pkg.elใ€‚

ๅˆฅๅ: pkg, pkg-el

$ eask [GLOBAL-OPTIONS] generate pkg-file

project ๆ˜ฏๅœจ Eask ๆ–‡ไปถไธญ่ฒๆ˜Ž็š„้ …็›ฎๅ็จฑใ€‚ ๆœ‰้—œ่ฉณ็ดฐไฟกๆฏ๏ผŒ่ซ‹ๅƒ้–ฑ ๅคšๆ–‡ไปถๅŒ… (elisp)ใ€‚

๐Ÿ” eask generate recipe

็”Ÿๆˆ recipe ๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] generate recipe [DESTINATION]

ๅฆ‚ๆžœๆœชๆŒ‡ๅฎš [DESTINATION]๏ผŒๅ‰‡้ป˜่ชๅฐŽๅ‡บๅˆฐ /recipes ๆ–‡ไปถๅคพใ€‚

๐Ÿ” eask generate license

็”Ÿๆˆ LICENSE ๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] generate license <name>

name` ๆ˜ฏ่จฑๅฏ่ญ‰็š„้กžๅž‹๏ผŒ่ซ‹ๅƒ้–ฑ https://api.github.com/licenses ไบ†่งฃๆ‰€ๆœ‰้ธๆ“‡ใ€‚

๐Ÿ’ก ๆญคๅ‘ฝไปคไฝฟ็”จๅŒ… license-templates ็”Ÿๆˆๅฟฝ็•ฅๆ–‡ไปถใ€‚

๐Ÿ” eask generate ignore

็”Ÿๆˆๅฟฝ็•ฅๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] generate ignore <name>
๐Ÿ’ก ๆญคๅ‘ฝไปคไฝฟ็”จๅŒ… gitignore-templates ็”Ÿๆˆๅฟฝ็•ฅๆ–‡ไปถใ€‚

๐Ÿ” eask generate test ert

็‚บ ertๆธฌ่ฉฆๅปบ็ซ‹ไธ€ๅ€‹ๆ–ฐ็š„ๆธฌ่ฉฆ้ …็›ฎใ€‚

$ eask [GLOBAL-OPTIONS] generate test ert [NAMES..]

๐Ÿ” eask generate test ert-runner

็‚บ ert-runner ๅปบ็ซ‹ไธ€ๅ€‹ๆ–ฐ็š„ๆธฌ่ฉฆ้ …็›ฎใ€‚

$ eask [GLOBAL-OPTIONS] generate test ert-runner [NAMES..]

๐Ÿ” eask generate test buttercup

็‚บๅฐˆๆกˆๅปบ็ซ‹ไธ€ๅ€‹ๆ–ฐ็š„ Buttercup ่จญๅฎšใ€‚

$ eask [GLOBAL-OPTIONS] generate test buttercup

๐Ÿ” eask generate test ecukes

็‚บๅฐˆๆกˆๅ‰ตๅปบไธ€ๅ€‹ๆ–ฐ็š„ Ecukes ่จญๅฎšใ€‚

$ eask [GLOBAL-OPTIONS] generate test ecukes

๐Ÿ” eask generate workflow circle-ci

็”Ÿๆˆ CircleCI ๅทฅไฝœๆต yaml ๆ–‡ไปถใ€‚

้ป˜่ชๆ–‡ไปถๅ็‚บ config.ymlใ€‚

$ eask [GLOBAL-OPTIONS] generate workflow circle-ci [--file]

้€™ๅฐ‡ๅœจ .circleci/ ไธ‹็”Ÿๆˆ yaml ๆ–‡ไปถ๏ผ

๐Ÿ” eask generate workflow github

็”Ÿๆˆ GitHub Actions ๅทฅไฝœๆต yaml ๆ–‡ไปถใ€‚

้ป˜่ชๆ–‡ไปถๅ็‚บ test.ymlใ€‚

$ eask [GLOBAL-OPTIONS] generate workflow github [--file]

้€™ๅฐ‡ๅœจ .github/workflow/ ไธ‹็”Ÿๆˆ yaml ๆ–‡ไปถ๏ผ

๐Ÿ” eask generate workflow gitlab

็”Ÿๆˆ GitLab Runner ๅทฅไฝœๆต็จ‹ yaml ๆ–‡ไปถใ€‚

้ป˜่ชๆ–‡ไปถๅ็‚บ .gitlab-ci.ymlใ€‚

$ eask [GLOBAL-OPTIONS] generate workflow gitlab [--file]

๐Ÿ” eask generate workflow travis-ci

็”Ÿๆˆ Travis CI ๅทฅไฝœๆต yaml ๆ–‡ไปถใ€‚

้ป˜่ชๆ–‡ไปถๅ็‚บ .travis.ymlใ€‚

$ eask [GLOBAL-OPTIONS] generate workflow travis-ci [--file]

๐Ÿšฉ ้€ฃ็ต

ๆญคๅŒ…่ˆ‡ๆœฌๅœฐๆ–‡ไปถ็ณป็ตฑ็š„ไพ่ณด้—œไฟ‚ไน‹้–“็š„้ˆๆŽฅใ€‚ ้ˆๆŽฅ็š„ไพ่ณด้ …้ฟๅ…ไบ†ๅพž้ ็จ‹ๅญ˜ๆช”ไธ‹่ผ‰ไพ่ณด้ …็š„้œ€่ฆใ€‚ ้ˆๆŽฅๅˆฐ็š„ๅŒ…ๅฟ…้ ˆๆœ‰ไธ€ๅ€‹ Eask ๆ–‡ไปถๆˆ–ไธ€ๅ€‹ -pkg.el ๆ–‡ไปถใ€‚

ๅฐ‡็ตฆๅฎš็š„ source ็›ฎ้Œ„้ˆๆŽฅๅˆฐๆญค้ …็›ฎ็š„ๅŒ…็›ฎ้Œ„๏ผŒๅœจ็ตฆๅฎš็š„ package ๅ็จฑไธ‹ใ€‚

$ eask [GLOBAL-OPTIONS] link add <NAME> <PATH>

ๅˆช้™ค็ตฆๅฎšๅŒ…็š„้ˆๆŽฅใ€‚

ๅˆฅๅ: remove

$ eask [GLOBAL-OPTIONS] link delete [NAMES..]

ๅˆ—ๅ‡บๆ‰€ๆœ‰้ˆๆŽฅใ€‚

$ eask [GLOBAL-OPTIONS] link list

๐Ÿšฉ ๆธ…็†

ๅˆช้™คๅปบ็ฝฎ้Ž็จ‹ไธญ็”ข็”Ÿ็š„ๅ„็จฎๆช”ๆกˆใ€‚

๐Ÿ” eask clean workspace

ๅพž็•ถๅ‰ๅทฅไฝœๅ€ไธญๅˆช้™ค .eask ใ€‚

ๅˆฅๅ: .eask

$ eask [GLOBAL-OPTIONS] clean workspace

โ›”๏ธ ไธ่ฆๆŒ‡ๅฎš้ธ้ … --config, -c๏ผŒๅฆๅ‰‡ๅฎƒๆœƒๅˆช้™คไฝ ็š„ๆ•ดๅ€‹ ~/.emacs.dใ€‚

$ eask clean workspace -g

๐Ÿ” eask clean elc

ๅˆช้™คๆ‰€ๆœ‰ .elc ๆ–‡ไปถใ€‚ ้€™ๅฐ‡ๅฐŠ้‡ๆ‚จ็š„ Eask ๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] clean elc

๐Ÿ” eask clean dist

ๅˆช้™ค dist ๅญ็›ฎ้Œ„ใ€‚

ๅˆฅๅ: distribution

$ eask [GLOBAL-OPTIONS] clean dist

๐Ÿ” eask clean autoloads

ๅˆช้™ค็”Ÿๆˆ็š„ autoload ๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] clean autoloads

๐Ÿ” eask clean pkg-file

ๅˆช้™ค็”Ÿๆˆ็š„ pkg ๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] clean pkg-file

๐Ÿ” eask clean log-file

ๅˆช้™คๆ‰€ๆœ‰็”Ÿๆˆ็š„ๆ—ฅ่ชŒๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] clean log-file

๐Ÿ” eask clean all

ๆญคๅ‘ฝไปคๆ˜ฏๆ‰€ๆœ‰ๅ…ถไป–ๆธ…็†ๅ‘ฝไปค็š„็ต„ๅˆใ€‚

  • clean workspace
  • clean elc
  • clean dist
  • clean autoloads
  • clean pkg-file
  • clean log-file

ๅˆฅๅ: everything

$ eask [GLOBAL-OPTIONS] clean all

๐Ÿšฉ ๆฃ€ๆŸฅ

ๅฐ Emacs ๅŒ…้€ฒ่กŒ lint ็š„ๅ‘ฝไปคใ€‚

๐Ÿ” eask lint package

้‹่กŒ package-lint.

$ eask [GLOBAL-OPTIONS] lint package [FILES..]

๐Ÿ” eask lint checkdoc

้‹่กŒ checkdoc (่‡ชๅธถ).

$ eask [GLOBAL-OPTIONS] lint checkdoc [FILES..]

๐Ÿ” eask lint elint

้‹่กŒ elint (่‡ชๅธถ).

$ eask [GLOBAL-OPTIONS] lint elint [FILES..]

๐Ÿ” eask lint elisp-lint

้‹่กŒ elisp-lint.

$ eask [GLOBAL-OPTIONS] lint elisp-lint [FILES..]

้€™็ขบๅฏฆๅฐŠ้‡ .dir-locals.el ๆ–‡ไปถ๏ผ ๐ŸŽ‰

๐Ÿ” eask lint elsa

้‹่กŒ elsa.

$ eask [GLOBAL-OPTIONS] lint lint elsa [FILES..]

๐Ÿ” eask lint indent

้‹่กŒ indent-lint.

$ eask [GLOBAL-OPTIONS] lint indent [FILES..]

๐Ÿ” eask lint keywords

้‹่กŒ keywords checker (่‡ชๅธถ).

$ eask [GLOBAL-OPTIONS] lint keywords

๐Ÿ” eask lint license

้‹่กŒ license check.

$ eask [GLOBAL-OPTIONS] lint license

๐Ÿ” eask lint declare

้‹่กŒ check-declare (่‡ชๅธถ).

$ eask [GLOBAL-OPTIONS] lint declare [FILES..]

๐Ÿ” eask lint regexps

Run relint.

ๅˆฅๅ: lint relint

$ eask [GLOBAL-OPTIONS] lint regexps [FILES..]

๐Ÿšฉ ๆธฌ่ฉฆๆก†ๆžถ

้‹่กŒๅ›žๆญธ/ๅ–ฎๅ…ƒๆธฌ่ฉฆใ€‚

๐Ÿ” eask test activate

ๆฟ€ๆดปๅŒ…๏ผ› ็”จๆ–ผๆธฌ่ฉฆๅŒ…ๆฟ€ๆดป

$ eask [GLOBAL-OPTIONS] activate [FILES..]

๐Ÿ’ก ๆ‚จๅฏไปฅๅ‚ณๅ…ฅ [FILES..] ไปฅไพฟๆ‚จๅฏไปฅๅ…จ้ขๆธฌ่ฉฆๆ‚จ็š„ๅŒ…ๆฟ€ๆดป๏ผ

[FILES..] ๅฐ‡ๅœจๅŒ…ๆฟ€ๆดปๅพŒๅŠ ่ผ‰ใ€‚

๐Ÿ” eask test ert

้‹่กŒ ert ๆธฌ่ฉฆใ€‚

$ eask [GLOBAL-OPTIONS] test ert [FILES..]

๐Ÿ” eask test ert-runner

ไฝฟ็”จ ert-runner ้‹่กŒ ert ๆธฌ่ฉฆใ€‚

$ eask [GLOBAL-OPTIONS] test ert-runner

๐Ÿ” eask test buttercup

้‹่กŒ buttercup ๆธฌ่ฉฆใ€‚

$ eask [GLOBAL-OPTIONS] test buttercup

๐Ÿ” eask test ecukes

้‹่กŒ ecukes ๆธฌ่ฉฆใ€‚

$ eask [GLOBAL-OPTIONS] test ecukes [FILES..]

๐Ÿ” eask test melpazoid

้‹่กŒ melpazoid ๆธฌ่ฉฆใ€‚

$ eask [GLOBAL-OPTIONS] test melpazoid [DIRECTORIES..]
๐Ÿ’ก ๅฆ‚ๆžœๆœชๅ‚ณๅ…ฅ [DIRECTORIES..]๏ผŒๅฎƒๅฐ‡ไฝฟ็”จ็›ฎๅ‰ๅทฅไฝœ็ฉบ้–“ใ€‚

๐Ÿšฉ ๆ ผๅผๅŒ–

ๆ ผๅผๅŒ– Emacs ๆบๆ–‡ไปถ็š„ๅ‘ฝไปคใ€‚

๐Ÿ” eask format elisp-autofmt

้‹่กŒ elisp-autofmt ๆ ผๅผๅ™จ.

$ eask [GLOBAL-OPTIONS] format elisp-autofmt [FILES..]

๐Ÿ” eask format elfmt

้‹่กŒ elfmt ๆ ผๅผๅ™จ.

$ eask [GLOBAL-OPTIONS] format elfmt [FILES..]

๐Ÿšฉ ๆŽงๅˆถ DSL

ๆŽงๅˆถ DSL ็š„ๆŒ‡ไปคๅˆ—่กจใ€‚

๐Ÿ” eask source add

ๆ–ฐๅขžไธ€ๅ€‹ๅŒ…ๆบใ€‚

$ eask [GLOBAL-OPTIONS] source add <NAME> [URL]

๐Ÿ” eask source delete

็งป้™คไธ€ๅ€‹ๅŒ…ๆบใ€‚

ๅˆฅๅ: remove

$ eask [GLOBAL-OPTIONS] source delete <NAME>

๐Ÿ” eask source list

ๅˆ—ๅ‡บๆ‰€ๆœ‰ๅŒ…ๆบใ€‚

$ eask [GLOBAL-OPTIONS] source list
๐Ÿ’ก ๆŒ‡ไปค่ˆ‡ $ eask archives ็›ธๅŒ!

๐Ÿšฉ ๅฏฆ็”จๅทฅๅ…ท

ๅ…ถไป–่ผ”ๅŠฉๅ‘ฝไปคใ€‚

๐Ÿ” eask upgrade-eask

ๅฐ‡ Eask ๅ‡็ดšๅˆฐๆœ€ๆ–ฐ็‰ˆๆœฌใ€‚

ๅˆฅๅ: upgrade-self

$ eask [GLOBAL-OPTIONS] upgrade-eask
๐Ÿ’ก ้€™ๅชๆœ‰ๅœจๆ‚จๅพžๆบไปฃ็ขผๅฎ‰่ฃๆ™‚ๆ‰ๆœ‰ๆ•ˆ๏ผ

๐Ÿ” eask locate

้กฏ็คบ Eask ๅฎ‰่ฃไฝ็ฝฎใ€‚

$ eask [GLOBAL-OPTIONS] locate

๐Ÿšฉ ๆชขๆŸฅๅ™จ

ๆชขๆŸฅๆ‚จ็š„ Eask ๆ–‡ไปถ็š„ๅ‘ฝไปคใ€‚

๐Ÿ” eask analyze

ๆชขๆŸฅ Eask ๆ–‡ไปถใ€‚

$ eask [GLOBAL-OPTIONS] analyze [FILES..]

ไพ‹ๅญ:

# lint all Eask-files in the current directory and subdirectories
eask analyze
# lint specific files
eask analyze Eask Eask.27
# lint all Eask-files in specified directory and subdirectories
eask analyze src/
# print result as JSON
eask analyze --json

ๆœ‰้—œๆ›ดๅคš่ฉณ็ดฐไฟกๆฏ๏ผŒ่ซ‹้‹่กŒ eask analyze --helpใ€‚

๐Ÿšฉ ๅ…จๅŸŸ้ธ้ …

ไปฅไธ‹้ธ้ …้ฉ็”จๆ–ผๆ‰€ๆœ‰ Eask ๅ‘ฝไปค๏ผš

๐Ÿ” –global, -g

้€™ๅฐ‡ไฝฟ็”จ ~/.eask/ ่€Œไธๆ˜ฏๅŒ…้–‹็™ผ็’ฐๅขƒใ€‚

้€™็”จๆ–ผๅ…ถไป–ไปปๅ‹™ใ€‚ ไพ‹ๅฆ‚๏ผŒcat ็ญ‰ใ€‚

$ eask -g [COMMAND]

๐Ÿ” –config, -c

้€™ๅฐ‡ไฝฟ็”จ ~/.emacs.d/ ่€Œไธๆ˜ฏๅŒ…้–‹็™ผ็’ฐๅขƒใ€‚

้€™็”จๆ–ผ็‚บๆ‚จ็š„Emacs ้…็ฝฎๅšไธ€ไบ›ไบ‹ๆƒ…ใ€‚ ไพ‹ๅฆ‚๏ผŒๅŒ…็ฎก็†็ญ‰ใ€‚

$ eask -c [COMMAND]

๐Ÿ” –all, -a

ๅ•Ÿ็”จ all ๆจ™่ชŒใ€‚

$ eask -a [COMMAND]

๐Ÿ” –quick, -q

ไนพๆทจๅœฐๅ•Ÿๅ‹•่€ŒไธๅŠ ่ผ‰้…็ฝฎๆ–‡ไปถใ€‚

$ eask -q [COMMAND]

๐Ÿ” –force, -f

ๅผทๅˆถๅŸท่กŒๅ‘ฝไปคใ€‚

ๅผทๅˆถๅธ่ผ‰ๅŒ… dash ๏ผŒๅณไฝฟๅฎƒๆ˜ฏๅฆไธ€ๅ€‹ๅŒ…็š„ไพ่ณด้ …

$ eask -f [COMMAND]

๐Ÿ” –debug

ๅ•Ÿ็”จ่ชฟ่ฉฆไฟกๆฏใ€‚

้€™็›ธ็•ถๆ–ผ๏ผš

(setq debug-on-error t)

๐Ÿ” –strict

่งธ็™ผ้Œฏ่ชคไปฃๆ›ฟ่ญฆๅ‘Šใ€‚

ไพ‹ๅฆ‚๏ผŒๅœจ eask compile ไธญ๏ผš

(setq byte-compile-error-on-warn t)

๐Ÿ” –allow-error

ๅœจไธ็ต‚ๆญข Emacs ็š„ๆƒ…ๆณไธ‹็นผ็บŒๅŸท่กŒใ€‚

๐Ÿ” –insecure

ไฝฟ็”จ HTTP ่€Œไธๆ˜ฏ HTTPS ้€ฃๆŽฅๅญ˜ๆช”ใ€‚

๐Ÿ” –timestamps

ๅ•Ÿ็”จ/็ฆ็”จๆ™‚้–“ๆˆณใ€‚

๐Ÿ” –log-level

ๅ•Ÿ็”จ/็ฆ็”จๆ—ฅ่ชŒๆจ™้ ญใ€‚

๐Ÿ” –log-file, –lf

ๆ˜ฏๅฆ็”Ÿๆˆๆ—ฅ่ชŒๆ–‡ไปถใ€‚

๐Ÿ” –no-color

็ฆ็”จ้ก่‰ฒ่ผธๅ‡บใ€‚

๐Ÿ” –elapsed-time, –et

้กฏ็คบๆฏๅ€‹ๆ“ไฝœไน‹้–“็ถ“้Ž็š„ๆ™‚้–“ใ€‚

๐Ÿ” –verbose, -v <integer>

ๅฐ‡่ฉณ็ดฐ็จ‹ๅบฆๅพž 0 ่จญ็ฝฎ็‚บ 5ใ€‚

$ eask --verbose 4 [COMMAND]

๐Ÿ” –version

้กฏ็คบ็‰ˆๆœฌ่™Ÿใ€‚

๐Ÿ” –help

้กฏ็คบๅนซๅŠฉใ€‚

๐Ÿšฉ ไปฃ็†้ธ้ …

๐Ÿ” –proxy <proxy>

็‚บ HTTP ๅ’Œ HTTPS ่จญ็ฝฎ Emacs ไปฃ็†๏ผš

$ eask --proxy "localhost:8888" [COMMAND]

๐Ÿ” –http-proxy <proxy>

ๅƒ…็‚บ HTTP ่จญ็ฝฎ Emacs ไปฃ็†ใ€‚

๐Ÿ” –https-proxy <proxy>

ๅƒ…็‚บ HTTPS ่จญ็ฝฎ Emacs ไปฃ็†ใ€‚

๐Ÿ” –no-proxy <pattern>

ไธ่ฆๅฐไปปไฝ• URL ๅŒน้…ๆจกๅผไฝฟ็”จไปฃ็†ใ€‚

<pattern> ๆ˜ฏ Emacs ๆญฃๅ‰‡่กจ้”ๅผใ€‚