You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
471 B
19 lines
471 B
import {Singleton, Inject} from '../../di'
|
|
import {CommandLine} from '../../cli'
|
|
import {templateForm} from '../templates/form'
|
|
import {Unit} from '../../lifecycle/Unit'
|
|
import {Logging} from '../../service/Logging'
|
|
|
|
@Singleton()
|
|
export class Forms extends Unit {
|
|
@Inject()
|
|
protected readonly cli!: CommandLine
|
|
|
|
@Inject()
|
|
protected readonly logging!: Logging
|
|
|
|
public async up(): Promise<void> {
|
|
this.cli.registerTemplate(templateForm)
|
|
}
|
|
}
|