Kubernetes 1.8 reference docs (#5632)

* Kubernetes 1.8 reference docs

* Kubectl reference docs for 1.8

* Update side bar with 1.8 kubectl and api ref docs links
This commit is contained in:
Phillip Wittrock
2017-09-26 11:29:51 -07:00
committed by Steve Perry
parent 271bd0f163
commit 147f04ca76
1420 changed files with 311873 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
var optimist = require('../');
var test = require('tap').test;
test('parse with modifier functions' , function (t) {
t.plan(1);
var argv = optimist().boolean('b').parse([ '-b', '123' ]);
t.deepEqual(fix(argv), { b: true, _: ['123'] });
});
function fix (obj) {
delete obj.$0;
return obj;
}