11import { CommentPermissionType , CreateNoteOptions , NotePermissionRole } from '@hackmd/api/dist/type'
2- import { CliUx , Flags } from '@oclif/core'
2+ import { ux , Flags } from '@oclif/core'
33import fs from 'fs'
44
55import HackMDCommand from '../../command'
@@ -22,14 +22,14 @@ raUuSTetT5uQbqQfLnz9lA A new note gvfz2UB5THiKABQJQnLs6Q n
2222
2323 static flags = {
2424 help : Flags . help ( { char : 'h' } ) ,
25- teamPath : teamPath ( ) ,
26- title : noteTitle ( ) ,
27- content : noteContent ( ) ,
28- readPermission : notePermission ( ) ,
29- writePermission : notePermission ( ) ,
30- commentPermission : commentPermission ( ) ,
25+ teamPath,
26+ title : noteTitle ,
27+ content : noteContent ,
28+ readPermission : notePermission ,
29+ writePermission : notePermission ,
30+ commentPermission : commentPermission ,
3131 editor,
32- ...CliUx . ux . table . flags ( ) ,
32+ ...ux . table . flags ( ) ,
3333 }
3434
3535 async run ( ) {
@@ -64,7 +64,7 @@ raUuSTetT5uQbqQfLnz9lA A new note gvfz2UB5THiKABQJQnLs6Q n
6464 const APIClient = await this . getAPIClient ( )
6565 const note = await APIClient . createTeamNote ( teamPath , options )
6666
67- CliUx . ux . table ( [ note ] , {
67+ ux . table ( [ note ] , {
6868 id : {
6969 header : 'ID' ,
7070 } ,
0 commit comments