Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

"info" and "configure" commands are gone. how do I configure a sketch? #277

Open
atsaloli opened this issue May 1, 2013 · 4 comments
Open
Assignees

Comments

@atsaloli
Copy link
Contributor

atsaloli commented May 1, 2013

Hi. Looks like the Design Center Wiki is out of date.

The "info" and "configure" commands are gone from the current version of cf-sketch:

cf-sketch> [3527:3527:0501/091041:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
info System::motd

Unknown command:
info System::motd

cf-sketch>

cf-sketch> configure System::motd

Unknown command:
configure System::motd

cf-sketch>

How do I configure a sketch?

@tzz
Copy link
Contributor

tzz commented May 1, 2013

I am working on the docs right now. I can't give you something in time for your class, sorry.

The cf-sketch shell is under development by @zzamboni and I don't have an ETA.

My best recommendation is to demonstrate with cd tools/test; make SKETCHNAME which will run cf-sketch in expert mode. Or you can look at the api or api2 targets which have fairly complete API interaction flows without cf-sketch in between. I apologize that I don't have a better solution for you.

@nickanderson
Copy link
Member

@atsaloli I can put together a manual integration example using one of the sketches before tomorrow for you. Also another option is to use --expert mode instead of the interactive shell and pass it a json file for the parameters. I havent played much with DC since the update to the API, so I am playing a bit of catch up.

@zzamboni
Copy link
Contributor

zzamboni commented May 1, 2013

Sorry, the info and configure commands are not reimplemented yet for the new framework. You can activate a sketch using the "activate" command, which has the form:

activate Sketch::name /file/with/params.json activation|class|expression

This command will automatically define a new parameter set using the given JSON file, and a new environment using the given class expression.

For your class, you may want to demo the 3.4.0 version of cf-sketch, which you can get from the design-center repository checkout using the following commands:

cd design-center/
git checkout dc-3.4.0
cd tools/cf-sketch
./cf-sketch

Then you can use all the features of the previous version, it should all work well.

Best regards, and sorry for the brokenness at the moment.

@ghost ghost assigned zzamboni May 2, 2013
@pderuiter
Copy link

Diego, is there a raw estimate when this will be ready.

Regards,
Patrick

tzz pushed a commit to tzz/design-center that referenced this issue Jun 1, 2014
Added lines to the top of a few pages to show distinction between Enterprise and Community tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

5 participants