[FEATURE] resource:publishstatic command

Change-Id: Ic306961d161dfcb6862e445e3c7f9f73b3109cc8
[WIP] A new resource management for Flow

Change-Id: Ia2b47b4070a2dfabf4833bf1f0f3967ba3b032a7