Unlock information from all your development and delivery tools. See and control your entire flow.
Unblock delivery and let the shipping flow, be it a simple push or multi-step deployment.
Integrate any step into your flow. Atomist’s extensible event model makes it a snap.
@CommandHandler("Kotlin Spring 5 generator", "Generate a new spring Kotlin project") export class KotlinSpring5 extends JavaSeed { public projectEditor(ctx: HandlerContext, params: this): ProjectEditor { return transformSeed; } }
@CommandHandler("Upgrade versions of Spring Boot across an org", "upgrade spring boot version") export class SpringBootVersionUpgrade extends EditorCommandSupport { @Secret(Secrets.userToken(["repo", "user"])) protected githubToken; @Parameter({ displayName: "Desired Spring Boot version", description: "The desired Spring Boot version across these repos", pattern: /^.+$/, validInput: "Semantic version", required: false, })
@CommandHandler("Query Stack Overflow", "search so") @Tags("stack-overflow") export class SearchStackOverflow implements HandleCommand { @Parameter({ description: "your search query", pattern: /^.*$/ }) public q: string; public handle(ctx: HandlerContext): Promise { return axios.get(`${apiSearchUrl}${encodeURIComponent(this.q)}`) .then(res => this.handleResult(res, this.q)) .then(msg => return ctx.messageClient.respond(msg) }); } }