Hi, Igniters!
I want discuss and define options naming format in our utilities. I found two naming styles in CommandHandler class --excludeCaches and --skip-zeros. I think we should unify it. At this moment almost all options have second naming format. I am offering rename --excludeCaches to --exclude-caches and define format for future options. How about linux like format i.e. --word1-word2? -- BR, Sergey Antonov |
Sergey,
Thanks for raising up the question. Did you mean following (?): - boolean argument: *--word1-word2* - single value argument *--word1-word2=value* - multiple values argument *--word1-word2=value1 --word1-word2=value2* On Fri, Jan 11, 2019 at 2:05 PM Sergey Antonov <[hidden email]> wrote: > Hi, Igniters! > > I want discuss and define options naming format in our utilities. I found > two naming styles in CommandHandler class --excludeCaches and > --skip-zeros. > I think we should unify it. At this moment almost all options have second > naming format. I am offering rename --excludeCaches to --exclude-caches and > define format for future options. How about linux like format i.e. > --word1-word2? > > -- > BR, Sergey Antonov > -- Sergey Kozlov GridGain Systems www.gridgain.com |
Sergey,
Not quite, I meant: - boolean argument: *--word1-word2* - single value argument *--word1-word2 value* - multiple values argument *--word1-word2 value1,value2* пт, 11 янв. 2019 г. в 14:12, Sergey Kozlov <[hidden email]>: > Sergey, > > Thanks for raising up the question. > > Did you mean following (?): > - boolean argument: *--word1-word2* > - single value argument *--word1-word2=value* > - multiple values argument *--word1-word2=value1 --word1-word2=value2* > > > On Fri, Jan 11, 2019 at 2:05 PM Sergey Antonov <[hidden email]> > wrote: > > > Hi, Igniters! > > > > I want discuss and define options naming format in our utilities. I found > > two naming styles in CommandHandler class --excludeCaches and > > --skip-zeros. > > I think we should unify it. At this moment almost all options have second > > naming format. I am offering rename --excludeCaches to --exclude-caches > and > > define format for future options. How about linux like format i.e. > > --word1-word2? > > > > -- > > BR, Sergey Antonov > > > > > -- > Sergey Kozlov > GridGain Systems > www.gridgain.com > -- BR, Sergey Antonov |
Igniters, what do you think about this topic?
пт, 11 янв. 2019 г. в 14:17, Sergey Antonov <[hidden email]>: > Sergey, > > Not quite, I meant: > - boolean argument: *--word1-word2* > - single value argument *--word1-word2 value* > - multiple values argument *--word1-word2 value1,value2* > > пт, 11 янв. 2019 г. в 14:12, Sergey Kozlov <[hidden email]>: > >> Sergey, >> >> Thanks for raising up the question. >> >> Did you mean following (?): >> - boolean argument: *--word1-word2* >> - single value argument *--word1-word2=value* >> - multiple values argument *--word1-word2=value1 --word1-word2=value2* >> >> >> On Fri, Jan 11, 2019 at 2:05 PM Sergey Antonov <[hidden email] >> > >> wrote: >> >> > Hi, Igniters! >> > >> > I want discuss and define options naming format in our utilities. I >> found >> > two naming styles in CommandHandler class --excludeCaches and >> > --skip-zeros. >> > I think we should unify it. At this moment almost all options have >> second >> > naming format. I am offering rename --excludeCaches to --exclude-caches >> and >> > define format for future options. How about linux like format i.e. >> > --word1-word2? >> > >> > -- >> > BR, Sergey Antonov >> > >> >> >> -- >> Sergey Kozlov >> GridGain Systems >> www.gridgain.com >> > > > -- > BR, Sergey Antonov > -- BR, Sergey Antonov |
Hello!
I think that it makes sense. Regards, -- Ilya Kasnacheev вт, 22 янв. 2019 г. в 22:24, Sergey Antonov <[hidden email]>: > Igniters, what do you think about this topic? > > пт, 11 янв. 2019 г. в 14:17, Sergey Antonov <[hidden email]>: > > > Sergey, > > > > Not quite, I meant: > > - boolean argument: *--word1-word2* > > - single value argument *--word1-word2 value* > > - multiple values argument *--word1-word2 value1,value2* > > > > пт, 11 янв. 2019 г. в 14:12, Sergey Kozlov <[hidden email]>: > > > >> Sergey, > >> > >> Thanks for raising up the question. > >> > >> Did you mean following (?): > >> - boolean argument: *--word1-word2* > >> - single value argument *--word1-word2=value* > >> - multiple values argument *--word1-word2=value1 > --word1-word2=value2* > >> > >> > >> On Fri, Jan 11, 2019 at 2:05 PM Sergey Antonov < > [hidden email] > >> > > >> wrote: > >> > >> > Hi, Igniters! > >> > > >> > I want discuss and define options naming format in our utilities. I > >> found > >> > two naming styles in CommandHandler class --excludeCaches and > >> > --skip-zeros. > >> > I think we should unify it. At this moment almost all options have > >> second > >> > naming format. I am offering rename --excludeCaches to > --exclude-caches > >> and > >> > define format for future options. How about linux like format i.e. > >> > --word1-word2? > >> > > >> > -- > >> > BR, Sergey Antonov > >> > > >> > >> > >> -- > >> Sergey Kozlov > >> GridGain Systems > >> www.gridgain.com > >> > > > > > > -- > > BR, Sergey Antonov > > > > > -- > BR, Sergey Antonov > |
Free forum by Nabble | Edit this page |