@graphql-inspector/action
Version:
GraphQL Inspector functionality for GitHub Actions
15 lines (14 loc) • 441 B
JavaScript
import { __awaiter } from "tslib";
import open from 'open';
import { createCommand } from '@graphql-inspector/commands';
export default createCommand(() => {
return {
command: ['docs', 'website'],
describe: 'Open Documentation',
handler() {
return __awaiter(this, void 0, void 0, function* () {
return yield open('https://graphql-inspector.com');
});
},
};
});