Просмотр исходного кода

rename list-disused-branches -> list-branches.js

Yuki Takei 5 лет назад
Родитель
Сommit
ec8456cb39
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      bin/github-actions/list-brahches.js

+ 9 - 0
bin/github-actions/list-disused-brahches.js → bin/github-actions/list-brahches.js

@@ -1,5 +1,14 @@
 /* eslint-disable no-console */
 
+/*
+ * USAGE:
+ *  node list-branches [OPTION]
+ *
+ * OPTIONS:
+ *  --disused : Return disused branches (default)
+ *  --illegal : Return illegal named branches
+ */
+
 const { execSync } = require('child_process');
 
 const EXCLUDE_TERM_DAYS = 14;